![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Shell
Haidar-cgh
https://github.com/Haidar-cgh
展开
-
shell 用法
本文为粘贴,来源找不到了,如果有侵权请联系kldn 1. Linux 脚本编写基础1.1 语法基本介绍1.1.1 开头 程序必须以下面的行开始(必须放在文件的第一行): #!/bin/sh 符号#!用来告诉系统它后面的参数是用来执行该文件的程序。在这个例子中我们使用/bin/sh来执行程序。 当编辑好脚本时,如果要执行该脚本,还必须使其可执行。 ...转载 2019-05-12 10:15:52 · 633 阅读 · 0 评论 -
Shell 系统监控命令
CPUcat /proc/cpuinfo内存:free -m硬盘df -m目录文件大小du -sh /网卡配置ifconfig -a路由配置ip routedstat -cypmdnhtopnetstat -nlptlsof fuser 查看端口号状态进行ping 不能ping 端口号可以用 nc 或 telnet localhost 22w3m http:...原创 2019-05-12 10:17:31 · 275 阅读 · 0 评论