Skip to content

Instantly share code, notes, and snippets.

@rogeliozarate
Created January 31, 2011 21:44
Show Gist options
  • Save rogeliozarate/804884 to your computer and use it in GitHub Desktop.
Save rogeliozarate/804884 to your computer and use it in GitHub Desktop.
LS options to list a directory ordered by modified date
# bash
# unix, os x, ubuntu
# List directory ordered by modified date
ls -ltr
# -l long listing giving details about files and directories
# -t sort by time modified instead of name
# -r, reverse order while sorting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment