Tuesday, February 28, 2012

Recently edited file

Very often I've got the situation when I edit some files remotly in the directory where there are many files. To see recently edited files I'm doing:

ls -ltr

They appear as the last ones on the list. The second trick is:

ls -lt | head

Then they appear as first

No comments:

Post a Comment