Open Access Port command
See if the port is open first
/etc/init.d/iptables status
/sbin/iptables-i input-p TCP--dport xxxx-j ACCEPT #开启xxxx端口
/etc/rc.d/init.d/iptables Save #保存配置
/etc/rc.d/init.d/iptables Restart #重启服务
View information such as the maximum number of handles under a process processCd/proc/pid/limits (Other information)
to view the number of open handles initiated by a processLsof-p PID | Wc-l
querying files that are larger than the file sizeFind/-type f-size +300m/g
Ls-ltr sorting files in the current folder in chronological order (-R reverse order)
Find files (including subfolders) that have changed in the most recent day within the current folder
Find. -type f-mtime-1
Files changed 1 days ago:
Find. -type F-mtime +1
Files with status changes in the last 10 minutes
Find. -type f-cmin-10
DF-HL Viewing disk usage
Linux Common commands