Chinaunix首页 | 论坛 | 博客
  • 博客访问: 718035
  • 博文数量: 235
  • 博客积分: 4309
  • 博客等级: 中校
  • 技术积分: 2325
  • 用 户 组: 普通用户
  • 注册时间: 2011-01-17 11:25
个人简介

If you don\\\\\\\\\\\\\\\'t wanna do it, you find an EXCUSE; if you do, you\\\\\\\\\\\\\\\'ll find a WAY :-)

文章分类

全部博文(235)

文章存档

2014年(3)

2013年(2)

2012年(31)

2011年(199)

发布时间:2011-02-19 16:08:31

find / ! -user root ! -user bin ! -user student -ls 2 > /dev/nullfind / -perm +7000 -exec ls -l {} \;ps axf -o pid,comm,%cpu,%mem,state,tty,euser,ruser,niceps aux比较如下三种方法:$ ps axo pid,comm|grep 'cups'2734 cupsd3502 eggcups$ pgrep cups27343502$ pidof cupsd   &n.........【阅读全文】

阅读(1382) | 评论(0) | 转发(0)

发布时间:2011-02-19 15:39:23

......【阅读全文】

阅读(762) | 评论(0) | 转发(0)

发布时间:2011-02-19 15:27:41

......【阅读全文】

阅读(1149) | 评论(0) | 转发(0)

发布时间:2011-02-19 15:18:27

sed 's/cat/dog/g' petssed 's/cat/dog/gi' petssed '1,50s/dog/cat/g' petssed '/digby/,/duncan/s/dog/cat/g' pets使用字符串搜索来指定地址,从包含'digby' 的那一行开始到 包含'duncan'的那一行为止,把 dog 改为 cat多个 sed 指令sed -e 's/dog/cat/' -e 's/hi/lo/' pets要进行大量编辑,将命令保存的文件.........【阅读全文】

阅读(871) | 评论(0) | 转发(0)

发布时间:2011-02-19 14:26:43

......【阅读全文】

阅读(1105) | 评论(0) | 转发(0)
给主人留下些什么吧!~~

royzs2012-07-11 14:03

ulovko: 哈楼.....
  哈喽哈喽

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

登录 注册