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 ?

Software Engineering Mcqs

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 ?

(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 {} \;



Share this... Share on Facebook
Facebook
Tweet about this on Twitter
Twitter
Share on LinkedIn
Linkedin
Share on Whatsapp
Whatsapp

  • IF YOU THINK THAT ABOVE POSTED MCQ IS WRONG.

  • PLEASE COMMENT BELOW WITH CORRECT ANSWER AND ITS DETAIL EXPLANATION.

  • Related Mcqs


    Leave a Reply

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