TIP_Recently_Changed_Files
| Terminals / Shells • Network • X Window System • Portage • System • Filesystems • Kernel • Other |
A quick way to find recently changed files is to pass the -FlAt flags to ls. Combined with head, this command can give you a quick overview of recently modified files in a directory. The -F option distinguishes certain types of files and directories by adding extra characters (such as '/' for directories, '*' for executables, etc.). The -t option sorts the entries by the date they were last modified. Piping the output to head shows (by default) only 10 entries.
bash$ ls -FlAt | head
Or you can use this and just read backwards:
bash$ ls -lart
For more information, see man ls.
Also try:
find / -mtime 1
to find all files on your system modified within the last twenty-four hours
Try this one as well:
find / -daystart -mtime 0
to find all files since midnight
. See man find.
Credits
Originally imported from GWN.
Last modified: Sat, 06 Sep 2008 09:12:00 +1000 Hits: 13,633
Created by NickStallman.net, Luxury Homes Australia
Real estate agents should be using interactive floor plans and real estate agent tools.
