Lab 3 Getting Help with Commands

Sequence 1: Using the Help Tools

1. man -f keyword
whatis keyword
list all man pages.

2. man -k keyword
list all manual pages.

3. man -K keyword
will be asked whether or not you would like to read it.

4. man 3 basename -- basename() function from chapter 3 of the Red Hat Enterprise Linux manual.
man basename

man 8 useradd
man useradd

5. ls -lh filename would display a long listing (-l) with human-readable (-h) sizes.

6. foo -x|-y [-abcde] FILENAME...
a. foo -x -y -a one.txt
b. foo
c. foo -y -abc one.txt two.txt
d. foo -abc one.txt two.txt three.txt

Sequence 2: Solving Problems with man

1. [student@stationX ~]$ man issue
q

2. [student@stationX ~]$ man mingetty

3. /escape

4. The \n escape represents system's hostname.

5. [root@stationX ~]# nano /etc/issue

6. Welcome to \n!
Red Hat Enterprise Linux Server release 5
Kernel \r on an \m

7. Ctrl-x

8. exit

最新文章

  1. 通过3个Hello World应用来了解ASP.NET 5应用是如何运行的(3)
  2. 机器学习基础——梯度下降法(Gradient Descent)
  3. Centos6 换源
  4. CPU的大小端模式
  5. WizNote for linux installation
  6. brew gradle
  7. dos命令行连接数据库
  8. iOS学习之UI可视化编程-StoryBoard
  9. Hadoop学习总结之四:Map-Reduce的过程解析
  10. centos mysq table is read only
  11. Hadoop启动异常情况解决方案
  12. asterisk webrtc使用SIPML5初体验
  13. linux安装安卓开发工具android studio
  14. Xamarin 学习笔记 - Layout(布局)
  15. spring-boot(六) 邮件服务
  16. 贝塞尔曲线与CSS3动画、SVG和canvas的应用
  17. JMeter—后置处理器(十)
  18. (连通图)Network--POJ--3694
  19. Bootstrap table 跨页全选
  20. bzoj1043 [HAOI2008]下落的圆盘

热门文章

  1. hdu 1007 最近点对问题(Splay解法)
  2. lucene4.4 索引的增删改查
  3. Android Fragment的介绍与使用(案例Demo)
  4. struts2文件上传限制大小问题
  5. sql连接错误(Microsoft SQL Server,错误:2)
  6. 最佳新秀SSH(十三)——Spring集装箱IOC分析和简单的实现
  7. 将行政区域导入SQL SERVER
  8. Jersey框架二:Jersey对JSON的支持
  9. 获取不同机型外置SD卡路径
  10. poj 3172 Scales 搜索