大连Linux/Unix高端就业、认证培训的领导者。
标题 | 阅读 | 评论 | 转发 | 发布日期 | |
---|---|---|---|---|---|
ssh反向连接 | 807 | 0 | 0 | 2013-06-02 | |
使用chroot将SSH用户限制在自己的宿主目录中 | 3341 | 0 | 0 | 2013-05-14 | |
收据包的封装过程 | 485 | 0 | 0 | 2013-04-16 | |
端口扫描程序nmap使用手册 | 1253 | 1 | 0 | 2006-12-05 | |
Snort 中文手册 | 1365 | 1 | 0 | 2006-11-23 | |
一个高级策略路由的例子 | 1327 | 0 | 0 | 2006-11-22 | |
在redhat4 sp3上配置pptp服务器 (转帖) | 1143 | 0 | 0 | 2006-11-22 |
w6308661392013-03-26 17:04
gltnsrice:尹伊明:
a:
[root@localhost ~]# w | sed 's/\([....]\{4,\}\) .*/\1/'
[root@localhost ~]# w | cut -d' ' -f1 | sed 's/\(.....*\)/\1/g'
[root@localhost ~]# who | sed 's/\([^ ]\{4,\}\) .*/\1/'
[root@localhost ~]# who | grep '^[^ ]\{4,\}'
b:
[root@localhost home]# cat passwd | cut -d: -f3 | grep '[0-9]\{3,\}'
[root@localhost home]# cat passwd | cut -d: -f1,3 | grep '[0-9]\{3,\}'
d:
[root@localhost home]# ls -l | sed 's/ */*/g' | cut -d* -f9,5 | sort -n
gltnsrice2013-03-16 12:07
尹伊明:
a:
[root@localhost ~]# w | sed 's/\([....]\{4,\}\) .*/\1/'
[root@localhost ~]# w | cut -d' ' -f1 | sed 's/\(.....*\)/\1/g'
[root@localhost ~]# who | sed 's/\([^ ]\{4,\}\) .*/\1/'
[root@localhost ~]# who | grep '^[^ ]\{4,\}'
b:
[root@localhost home]# cat passwd | cut -d: -f3 | grep '[0-9]\{3,\}'
[root@localhost home]# cat passwd | cut -d: -f1,3 | grep '[0-9]\{3,\}'
d:
[root@localhost home]# ls -l | sed 's/ */*/g' | cut -d* -f9,5 | sort -n