PrepAway - Latest Free Exam Questions & Answers

Which of the following commands, when issued from a non-root user, will remove all files…?

Which of the following commands, when issued from a non-root user, will remove all files from the /tmp directory after prompting the user for the root password?

PrepAway - Latest Free Exam Questions & Answers

A.
su "rm -rf /tmp/*"

B.
rm -rf /tmp/* -su

C.
su -c "rm -rf /tmp/*"

D.
rmdir -rf /tmp/*


Leave a Reply