grep -rn "searchstring" ./
search all files under sub-direcotry
and show line number
grep -rni "string" ./
ignore case
ps -ef | grep ftp | grep -v grep
-v not include
-w 參數 是整個字
grep -rn "searchstring" ./
search all files under sub-direcotry
and show line number
grep -rni "string" ./
ignore case
ps -ef | grep ftp | grep -v grep
-v not include
-w 參數 是整個字
新增評論