Which of the following is the command to find 30 days old files in the location /app/unix if you are currently at location /tmp/user?

  1. find /app/unix -mtime +30 -exec ls -lrt {} \ /tmp/user;

  2. find /app/unix -mmonth +1 -exec ls -lrt {} \;

  3. find /app/unix -mday +30 -exec ls -lrt {} \;

  4. find /app/unix -mtime +30 -exec ls -lrt {} \;


Correct Option: D

Find more quizzes: