man /usr/bin/man man [命令或配置文件]获取帮助信息 man ls /-lman date/-d man services //不需要添加绝对路径/etc/services NAME(名称) services - Internet 网络服务列表每行描述了一个服务,其格式如下: 服务名 端口/协议 [别名 ...]more services man passwd whereis passwd结果:passwd: /usr/bin/passwd /etc/passwd /usr/
1. 命令awk简介 a. awk是一种编程语言,用于对文本和数据进行处理. b.具有强大得文本格式话能力 c.利用命令awk,可以将一些文本整理成需要的格式. d.命令awk是逐行进行处理的 2. grep.sed.awk的简单比较 a. grep适合单纯的查找或者匹配文本 b. sed 适合匹配到的文本进行编辑 c. awk适合文本格式化,对文本进行比较复杂的格式处理 3. awk基本语法 awk [options] 'program ' file1,file2 对于上述语法中的progr
几种方法: help 命令 man 命令 info 命令 命令 --help man 章节分类如下 1 - commands 2 - system calls 3 - library calls 4 - special files 5 - file formats and convertions 6 - games for linux 7 - macro packages and conventions 8 - system management commands 9 - other 其中 1