不会跑
work for life
首页
文章
关于
目录
标签
23
Feb 2016
Linux 下特殊变量:($N $* $@ $! $? $0 $$ !$ )
Linux Shell 中有一些特殊变量,在写脚本的时候经常用到,下面逐一记录下它们的含义和用法。 $N – 位置参数 表示第N个参数,例如 $1, $2, $3。$0 比较特殊,表示脚本本身的名字。 #!/bin/bash #...
18
Feb 2016
Linux重要命令之—grep&&cut
grep 的基本用法,找出字符串所在行: [buhuipao@localhost ~]$ echo -e "this is a word \n next line." | grep word this is a word 找...
← Prev page