sort
[root@localhost ~]# sort -t ':' -k 3 -n /etc/passwd
[root@localhost /]# du -sh * | sort -n
[root@localhost /]# du -sh * | sort -nr
sort -M 以月份排序Jan、Feb、Mar、Apr、May、Jun、Jul、Aug、Sep、Oct、Nov、Dec
[root@localhost /]# netstat -lnut
[root@localhost /]# lsof -i:111
[root@localhost /]# lsof -i:111
[root@localhost /]# mount -av
[root@localhost ~]# sleep 300&
[1] 4535
[1]+ 运行中 sleep 300 &
[root@localhost ~]# jobs -l
[1]+ 4535 运行中 sleep 300 &
[root@localhost ~]# ps --forest
PID TTY TIME CMD
4304 pts/1 00:00:00 bash
4535 pts/1 00:00:00 \_ sleep
4708 pts/1 00:00:00 \_ ps
[root@localhost ~]# ps -ef | grep 4535 | grep -v grep
root 4535 4304 0 00:51 pts/1 00:00:00 sleep 300
[root@localhost ~]# which ps
/usr/bin/ps
[root@localhost ~]# type -a ps
ps 是 /usr/bin/ps
[root@localhost ~]# !232
[root@localhost ~]# alias -p 查看当前用的别名
[root@localhost ~]# echo `date +%Y-%m-%d--%H:%M:%S`.log
[root@localhost ~]# rpm -qa | sort | less