RHCSA參開答案(13)查找文件

13.查找文件

找出所有用戶student擁有的文件,並且把它們拷貝到/root/findfiles目錄中

[root@server0 ~]# mkdir /root/findfiles
[root@server0 ~]# find / -user student -type f -exec cp -p {} /root/findfiles/
\;
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章