Skip to content

Instantly share code, notes, and snippets.

@rogeliozarate
Created January 31, 2011 21:44
Show Gist options
  • Select an option

  • Save rogeliozarate/804884 to your computer and use it in GitHub Desktop.

Select an option

Save rogeliozarate/804884 to your computer and use it in GitHub Desktop.

Revisions

  1. cobiz created this gist Jan 31, 2011.
    10 changes: 10 additions & 0 deletions gistfile1.bat
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    # 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