Write a command to find all of the files which have been
accessed within the last 30 days.
Answers were Sorted based on User's Feedback
find / -type f -atime -30 = accessed
find / -type f -ctime -30 = changed
find / -type f -ctime -30 = modified
Is This Answer Correct ? | 11 Yes | 3 No |
Answer / mrigendra singh
#find -ctime -720
these commond find all file in hour 720=24*30
thus 720h in 30 days.
Is This Answer Correct ? | 5 Yes | 0 No |
What is ls command and what it does?
what is the command to view gateway?
What is the syntax of mkdir?
What is mkdir m in linux?
Which command will show you free/used memory? Does free memory exist on linux?
Which command is used to delete a group?
What is the command to check cpu speed in linux?
How can we increase disk read performance in single command?
in unix how to change old name to new name
Which command is used to review boot messages?
Hi All of Unix/Linux professional Q.Why soft link file not open by cat command. Ihave make following symbolic link but when i open with #cat linkfilename it does not oped please see the following code and try to answer. # ln -s file1 ~/mydir/filea [root@dhcppc0 ~]# cd mydir [root@dhcppc0 mydir]# ls -l total 4 lrwxrwxrwx 1 root root 5 2010-04-04 09:04 filea -> file1 [root@dhcppc0 mydir]# cat filea cat: filea: No such file or directory
What are the mv command options?