介绍Linux常用命令的主要用法

1
2
3
4
5
6
7
8
9
10
- 查找某个软件包是否安装:
yum list installed|grep mcrypt
- 查看某个命令的位置
whereis ls
- 检查某个端口是否打开
lsof -i :port
- 查看某个运行的进程
ps -ef|grep httpd
- 查找某个进程
pgrep -l ssh


linux

本博客所有文章除特别声明外,均采用 CC BY-SA 3.0协议 。转载请注明出处!