摘要:
1. netstat命令用于显示系统的网络信息,包括网络连接 、路由表 、接口状态2. 一般我们使用 netstat 来查看本机开启了哪些端口,查看有哪些客户端连接 常用: 命令参数: 阅读全文
posted @ 2017-12-11 16:18
minger_lcm
阅读(1906)
评论(0)
推荐(0)
摘要:
ntpdate用来同步时间 阅读全文
posted @ 2017-12-11 16:10
minger_lcm
阅读(452)
评论(0)
推荐(0)
摘要:
[root@localhost ~]# du -sh /etc # 查看目录下所有文件大小 [root@localhost ~]# du -sh * # 查看所有文件大小 阅读全文
posted @ 2017-12-11 16:07
minger_lcm
阅读(230)
评论(0)
推荐(0)
摘要:
按空格往下查看, 按小写 b 往上查看 按h显示帮助 q退出 按回车 一行一行往下看 按= 显示当前行号 按/ 搜索功能字符串 /mysql 查到有mysql那行 按v 进入vi/vim模式 ! 调用命令 !df -h [root@localhost ~]# more 1.txt # 按页显示文件内 阅读全文
posted @ 2017-12-11 15:59
minger_lcm
阅读(297)
评论(0)
推荐(0)
摘要:
[root@localhost ~]# ls # 列出当前目录下所有的文件 [root@localhost ~]# ls /tmp # 列出指定目录下所有的文件 [root@localhost ~]# ls -a # -a 查看所有的文件,包括隐藏文件,以.开头的文件 [root@localhost 阅读全文
posted @ 2017-12-11 15:24
minger_lcm
阅读(226)
评论(0)
推荐(0)
摘要:
[root@localhost ~]# cd # 进入当前用户的家目录 [root@localhost ~]# cd ~ # 进入当前用户的家目录 [root@localhost ~]# cd /data # 进入指定目录 [root@localhost ~]# cd - # 进入上一次所在的目录 [root@localhost ~]# cd . ... 阅读全文
posted @ 2017-12-11 11:52
minger_lcm
阅读(157)
评论(0)
推荐(0)
浙公网安备 33010602011771号