linux
Y2701310012
这个作者很懒,什么都没留下…
展开
-
linux的w命令
在终端中打w,可看到如下信息: 10:56:30 up 1:27, 2 users, load average: 0.00, 0.00, 0.00 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT Lincon tty1 :0 10:02 9:27m 11.原创 2014-08-18 11:01:13 · 700 阅读 · 0 评论 -
sed引入shell变量的方法
1. sed使用外部变量 eval sed ’s/$a/$b/’ filename sed "s/$a/$b/" filename sed ’s/’$a’/’$b’/’ filename sed s/$a/$b/ filename 2. sed使用外部命令 sed命令使用单引号的情况下使用'`shell command`'或者'$(shell command)'引用命令执行原创 2014-11-27 13:52:57 · 1070 阅读 · 0 评论 -
Linux Terminal Color
Format翻译 2014-10-16 09:11:53 · 3013 阅读 · 0 评论