Skip to content

Instantly share code, notes, and snippets.

@tomgullo
Created May 23, 2012 12:56
Show Gist options
  • Save tomgullo/2775120 to your computer and use it in GitHub Desktop.
Save tomgullo/2775120 to your computer and use it in GitHub Desktop.
create alias to show contents of latest modified file
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