2008/11/18

Heads and Tails of the last file in a directory.

head -n 2 `ls -1rt | tail -n 1` ; echo "...";echo "..."; tail -n 1 `ls -1rt | tail -n 1`

No comments: