Nothing stupid about them...

...I just stole the name from David Letterman's "stupid pet tricks". I hope these tips help you avoid or fix mistakes along the way in your *nix administration duties.

Saturday, June 14, 2008

What file was I just editing?

Yeah, older users get that brain cramp every now and then.

$ ls -lt | head

...shows the most recently changed files in the directory.

Not even sure what subdirectory it was? Man! You are getting senile.

$ find . -mtime -1 -print

No comments:

Search

Google