5. Which of the following commands is used to remove files with confirmation prompt from the user file system which have neither been accessed nor modified i the last one year?
Options
A. find -mtime +365 | rm
B. grep (/usr/*) - mtime + 365 | -ok rm
C. find -name - mtime + 365 / - ok rm
D. find /user/* \(-mtime + 365 - a - atime +365 \) - OK rm {} \;
u - user: the owner of the file.
g - group: users who are members of the file's group.
o - others: users who are not the owner of the file or members of the group.
a - all: all three of the above, is the same as ugo.
Permissions:
r - read
w - write
x - execute
So, u+x => Execute (x) permission to Owner (u).
10. Which command is used to copy a file wb with the same name from the programs directory to the misc directory?