Skip to content

Instantly share code, notes, and snippets.

@cema-sp
Last active January 6, 2017 19:42
Show Gist options
  • Save cema-sp/e0941add072187bb52efe892878c9e4c to your computer and use it in GitHub Desktop.
Save cema-sp/e0941add072187bb52efe892878c9e4c to your computer and use it in GitHub Desktop.
alias l='ls -1A' # Lists in one column, hidden files.
alias ll='ls -lh' # Lists human readable sizes.
alias lr='ll -R' # Lists human readable sizes, recursively.
alias la='ll -A' # Lists human readable sizes, hidden files.
alias lm='la | "$PAGER"' # Lists human readable sizes, hidden files through pager.
alias lx='ll -XB' # Lists sorted by extension (GNU only).
alias lk='ll -Sr' # Lists sorted by size, largest last.
alias lt='ll -tr' # Lists sorted by date, most recent last.
alias lc='lt -c' # Lists sorted by date, most recent last, shows change time.
alias lu='lt -u' # Lists sorted by date, most recent last, shows access time.
alias sl='ls' # I often screw this up.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment