晃過來晃過去
http://codeformatter.blogspot.com/
星期三, 3月 08, 2017
[ Linux ] xargs 用法
用find指令來搭配的話:
/ # find -name *.pl | xargs chmod +x
或者用grep來使用:
/ # find . -name '*.c' | xargs grep 'stdlib.h'
/ # find –type d –name tests –exec rm –f {} \;
Ref
沒有留言:
張貼留言
較新的文章
較舊的文章
首頁
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言