上一页 1 ··· 5 6 7 8 9
摘要: 1. 使用w命令查看登录用户正在使用的进程信息 w命令用于显示已经登录系统的用户的名称,以及他们正在做的事。该命令所使用的信息来源于/var/run/utmp文件。w命令输出的信息包括: 用户名称 用户的机器名称或tty号 远程主机地址 用户登录系统的时间 空闲时间(作用不大) 附加到tty(终端) 阅读全文
posted @ 2019-05-31 11:19 song宁静致远 阅读(7624) 评论(0) 推荐(0) 编辑
摘要: 正确解读free -m 如下显示free是显示的当前内存的使用,-m的意思是M字节来显示内容.我们来一起看看. $ free -m total used free shared buffers cachedMem: 1002 769 232 0 62 421-/+ buffers/cache: 28 阅读全文
posted @ 2019-05-31 10:20 song宁静致远 阅读(844) 评论(0) 推荐(0) 编辑
摘要: 很多新手在使用SSH Secure Shell Client的过程中,肯定经常会遇到当用SSH Secure Shell连接Linux时,如果几分钟没有任何操作,连接就会断开,提示server responded "connection closed" 。必须重新登陆才行,每次都重复相同的操作,很是 阅读全文
posted @ 2019-05-29 16:13 song宁静致远 阅读(7084) 评论(0) 推荐(1) 编辑
摘要: 为什么当简单的ping成功时,Nmap会报告“Host is down”? me@computer:~$ ping 123.45.67.89 PING 123.45.67.89 (123.45.67.89) 56(84) bytes of data. 64 bytes from 123.45.67. 阅读全文
posted @ 2019-05-28 10:00 song宁静致远 阅读(8088) 评论(0) 推荐(0) 编辑
摘要: 1. telnet> telnet [host] [port] # 检测指定端口是否通畅。> telnet baidu.com 80Trying 123.125.114.144...Connected to baidu.com (123.125.114.144). # 出现Connected表示连通 阅读全文
posted @ 2019-05-21 14:36 song宁静致远 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 列出所有端口 netstat -ntlp 1、开启端口(以80端口为例) 方法一: /sbin/iptables -I INPUT -p tcp --dport 80 -j ACCEPT ? 写入修改 /etc/init.d/iptables save ? 保存修改 ?service iptable 阅读全文
posted @ 2019-05-21 14:26 song宁静致远 阅读(782) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9