RHCSA参开答案(13)查找文件

13.查找文件

找出所有用户student拥有的文件,并且把它们拷贝到/root/findfiles目录中

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