Breaking News
Loading...
Monday, September 2, 2013

Basic Find Commands in Linux Part 4

6:07 AM

26. Find Last 30 Days Modified Files

To find all the files which are modified 30 days back.
# find / -mtime 30

27. Find Last 30 Days Accessed Files

To find all the files which are accessed 30 days back.
# find / -atime 30

28. Find Last 30-50 Days Modified Files

To find all the files which are modified more than 30 days back and less than 50 days.
# find / -mtime +30 –mtime -50

29. Find Changed Files in Last 3 Hour

To find all the files which are changed in last 3 hour.
# find / -cmin -180

30. Find Modified Files in Last 3 Hour

To find all the files which are modified in last 3 hour.
# find / -mmin -180

31. Find Accessed Files in Last 3 Hour

To find all the files which are accessed in last 3 hour.
# find / -amin -180

0 comments:

Post a Comment

:) :)) ;(( :-) =)) ;( ;-( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ $-) (b) (f) x-) (k) (h) (c) cheer
Click to see the code!
To insert emoticon you must added at least one space before the code.

 
Toggle Footer