題:找出全部用戶 ira 擁有的文件,而且把它們拷貝到/root/findfiles 目錄中html
已建立用戶 :spa
# 建立目錄 mkdir /root/findfiles # find搜索全部用戶包含ira 文件的 複製到 findfiles目錄下 find / -user ira -exec cp -a {} /root/findfiles \;
更多詳情:http://www.javashuo.com/article/p-yudmvlve-mo.htmlcode