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.csdn.net/frozen_fish/archive/2008/04/08/2260804.aspx
9 split 分割文件 tr 刪除文件中控制字符 或者 進行字符轉換