[root@allen tmp]# ls |wc -l
8
#统计tmp目录下文件数量
[root@allen tmp]# find ./ -type f
./1.txt
./2.txt
./3.txt
./4.txt
./5.txt
./q.txt
./a.txt
#把当前目录下所有文件列出来
[root@allen tmp]# find ./ -type f |wc -l
7
ctrl+z 停止当前任务
fg 前台运行
bg 将进程丢到后台
jobs 将停止的任务列出来
fg1
fg2
vmstat 不停显示系统状态
sleep 1000 暂停1000秒
sleep 1000 & 将命令放入后台执行
ps aux |grep sleep 查看sleep进程