大连Linux/Unix高端就业、认证培训的领导者。
| 标题 | 阅读 | 评论 | 转发 | 发布日期 | |
|---|---|---|---|---|---|
| TCP/IP三次握手与四次挥手 | 776 | 0 | 0 | 2013-04-16 | |
| TCP/IP状态 | 742 | 0 | 0 | 2013-04-16 | |
| 红帽RHEL5U3平台实现pppoe接入记账认证服务器的配置文档 | 1121 | 0 | 0 | 2009-06-11 | |
| 基于用户级别的samba服务器配置 | 1092 | 0 | 0 | 2009-06-11 | |
| vsftpd-2.0.5源代码安装和PAM使用 | 1716 | 0 | 0 | 2009-06-11 | |
| RedHatAS4下Apache2+MySQL+Php+Tomcat整合配置虚拟主机 | 1976 | 0 | 0 | 2006-11-28 | |
| RH AS3.0 + SQUID + MYSQL_AUTH | 1697 | 0 | 0 | 2006-11-23 | |
| Apache+PHP源码安装 | 1781 | 1 | 0 | 2006-11-17 | |
| Linux下安装Mysql5.0 | 1808 | 2 | 0 | 2006-11-17 |
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