Write a command to find all of the files which have been
accessed within the last 30 days.

Answer Posted / diksha kakkar

the command is - find . -mtime -30 -print

Here you are telling find to list the files that were
modified with in last 30 days. You can increase the span of
time that "find" will report back on or go to a more
restricted time period.

Is This Answer Correct ?    17 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is pipe command in unix?

684


What do chown command do?

541


What is unix command line?

624


What is the unix command to confirm a remote host is alive or not?

594


What does the command '$ls | wc –l > file1' do?

690






How do you grep recursively?

566


What is the functionality of a top command?

628


What does find command return in unix?

608


Is grep faster than awk?

573


How do I search for text in vi?

597


Enumerate some of the most commonly used network commands in unix?

628


How do I use grep to find a file?

595


Which command can you use to find the currently running process in unix server?

596


How many unix commands are there?

637


What is grep short for?

568