Which of the following commands will you execute to fix other writable files in your home directory?

Which of the following commands will you execute to fix other writable files in your home
directory?

Which of the following commands will you execute to fix other writable files in your home
directory?

A.
find -perm -002 -exec chmod o-w {} \;

B.
find /home -type d -ls

C.
find ~ -perm -002 -exec chmod o-w {} \;

D.
find ~ -perm -002 -exec chmod -w {} \;

Explanation:

You will use find ~ -perm -002 -exec chmod o-w {} \; command to fix other writable files in your
home directory.
Answer option B is incorrect. The find /home -type d -ls command is used to do an ls -l style listing
of all directories in /home/.

Answer options A and D are incorrect. There are no such commands in Linux.



Leave a Reply 0

Your email address will not be published. Required fields are marked *