Created
May 23, 2012 12:56
-
-
Save tomgullo/2775120 to your computer and use it in GitHub Desktop.
create alias to show contents of latest modified file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias latest='ls -lrth . | tail -1 | awk "{print \$9 }" | xargs cat | less +G' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment