Linux常用命令

1. 常用命令

查看端口是否被占用

netstat -nltp | grep 2181

centos7防火墙相关命令

systemctl status firewalld
systemctl stop firewalld
systemctl start firewalld
systemctl disable firewalld

 查看系统存储空间

df -h

查看文件夹占用的空间

du -sh /opt/service/tomcat/

 

posted @ 2021-01-14 09:28  华格瑞沙  阅读(40)  评论(0编辑  收藏  举报