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 3 years, 11 months agololoski
Most Recent 4 months, 3 weeks agothomasstate
1 year agoTheServant
8 months, 1 week agoMichaelChapoco
11 months, 2 weeks agoAbhilashasok
1 year, 3 months agoertgrty
1 year, 3 months agoertgrty
1 year, 3 months agoRahul95
1 year, 6 months agojahmad0730
1 year, 6 months agotinythings
1 year, 8 months agoMayowa15
2 years agorobust993
2 years, 2 months agoHayder_Alobaidi
2 years, 4 months agomaxim_sk
2 years, 6 months agomaxim_sk
2 years, 5 months agobrahmimedamine
2 years, 9 months agokenkct
2 years, 10 months agoeid
2 years, 11 months agoeid
2 years, 11 months agoeldny
3 years ago