1 5个查找命令 分别是 find locate which whereis type
locate查找本地数据库
find file by name which:show the full path of(shell) commands
whereis: locate the binary,source,and manual page files for a command
type:区分命令是否是shell 内置的
2 SUID :执行文件时以该文件拥有者权限执行
如ls -l /usr/bin/passwd -r-s--x--x root root 其他用户也可以通过s位来执行 passwd
3 SELINUX
http://blog.candyz.org/20060506/1161
4 系统自动分配的端口号范围
/proc/sys/net/ipv4/ip_local_port_range
5 uniq [option]...[input[output]] 编辑带有重复行的文件
option: -d print duplicate lines
-u print uniq lines
-s(横排)
-c 统计
http://chcearth.blog.51cto.com/2179839/403963
6 paste 合并多个文件的行
paste [option]...[file]...
http://snailwarrior.blog.51cto.com/680306/144462
option: -d 后面插入characters instead of TAB -s 并排转横排
7join 根据公共字段合并2个文件的数据行 可以指定输出的列
http://lorna8023.blog.51cto.com/777608/420356
8 cut 从一个文本或者文本流中提取文本列
http://blog.youkuaiyun.com/frozen_fish/archive/2008/04/08/2260804.aspx
9 split 分割文件 tr 删除文件中控制字符 或者 进行字符转换
转载于:https://blog.51cto.com/yuebaocheng/495088