Chinaunix首页 | 论坛 | 博客
  • 博客访问: 115298
  • 博文数量: 84
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 0
  • 用 户 组: 普通用户
  • 注册时间: 2016-11-17 12:39
个人简介

大连Linux/Unix高端就业、认证培训的领导者。

文章分类

全部博文(84)

文章存档

2013年(25)

2012年(1)

2010年(4)

2009年(9)

2008年(14)

2007年(4)

2006年(27)

     该分类下暂时没有公开的博文,给他留言提醒一下吧。
给主人留下些什么吧!~~

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

回复  |  举报

rachel9892011-07-08 09:37

收藏~

回复  |  举报

chinaunix网友2009-03-01 23:49

老师 您这好久没更新啦。。。呵呵

回复 |  删除 |  举报

danya09252008-10-17 15:58

您好,我想了解一下您所开得课程。

回复  |  举报
留言热议
请登录后留言。

登录 注册