What is the answer please? Syntax in the example is not working.
[root@station /]# find / -user tom -exec cp {} /opt/dir/ \;
cp: '/opt/dir/.bash_logout' and '/opt/dir/.bash_logout' are the same file
cp: '/opt/dir/.bash_profile' and '/opt/dir/.bash_profile' are the same file
cp: '/opt/dir/.bashrc' and '/opt/dir/.bashrc' are the same file
cp: '/opt/dir/tom' and '/opt/dir/tom' are the same file
cp: -r not specified; omitting directory '/home/tom'
find: ‘/proc/8531/task/8531/fd/6’: No such file or directory
find: ‘/proc/8531/task/8531/fdinfo/6’: No such file or directory
find: ‘/proc/8531/fd/5’: No such file or directory
find: ‘/proc/8531/fdinfo/5’: No such file or directory
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
airphreak
Highly Voted 4 years agololoski
Most Recent 6 months, 1 week agothomasstate
1 year, 1 month agoTheServant
9 months, 2 weeks agoMichaelChapoco
1 year agoAbhilashasok
1 year, 4 months agoertgrty
1 year, 4 months agoertgrty
1 year, 4 months agoRahul95
1 year, 7 months agojahmad0730
1 year, 7 months agotinythings
1 year, 9 months agoMayowa15
2 years, 1 month agorobust993
2 years, 3 months agoHayder_Alobaidi
2 years, 5 months agomaxim_sk
2 years, 8 months agomaxim_sk
2 years, 6 months agobrahmimedamine
2 years, 10 months agokenkct
2 years, 11 months agoeid
3 years agoeid
3 years agoeldny
3 years, 2 months ago