linux-其他基本命令

查看进程:top     介绍: man top

less:查看文件    less log2013  log2014     浏览多个文件  输入 :n后,切换到 log2014.log    输入 :p 后,切换到log2013.log

ps -ef |less ps查看进程信息并通过less分页显示

根路径 主路径

find ~

man find

find ~ type d  

cat :打印全部

more:more 1.txt   用空格翻页

grep

特殊文件:软链 socket :进程通讯

netstat -tlnp   当前机器开放的端口信息等

猜你喜欢

转载自www.cnblogs.com/cc1994/p/12018369.html
今日推荐