Linux 學習筆記 (一)

【01】:find 查找文件php find /home/  -iname  "*.sh" |xargs -I {} ls -li {} find /root/ -type f -name "*.sh" | xargs -i  cp {}  /tmp/ #加-i 參數直接用 {}就能代替管道以前的標準輸出的內容;  #加 -I 參數 須要事先指定替換字符 xargs還有指定參數位置的做用。 #
相關文章
相關標籤/搜索