ls------------------------列出目录下的文件、文件夹。
cd-----------------------查看目录。
ps -ef|grep root---------------------列出root用户启动的进程。
who am i -----------------------------查看自己用户名。
tail -f nohup.out ------------------查看nohup.out文件,显示10行。
tail -f -n 2000 bp-ser.log > bp_ser_bak8.log 复制文件,2000行
tar -cf lin_apache.tar *.* 压缩目录下的文件