centos 常用命令

1.rpm -ql 软件名称

查询软件安装位置

2.查看版本号

cat /etc/redhat-release

3.查看端口

netstat -tunlp

posted @ 2017-04-20 21:21  shanwater  阅读(179)  评论(0编辑  收藏  举报