Skip to content

Instantly share code, notes, and snippets.

@LinuxPanda
Created March 17, 2014 19:25
Show Gist options
  • Save LinuxPanda/9606467 to your computer and use it in GitHub Desktop.
Save LinuxPanda/9606467 to your computer and use it in GitHub Desktop.
# List direcory contents
alias ls='ls -AF --color=auto' # Also show hidden files (without ./ .//) + add / after dirs and @ after link + colored output
alias l='ls -1A' # Show files in one column.
alias ll='ls -lh' # Show human readable.
alias la='ls -lhA' # Show hidden files.
alias lx='ls -lhXB' # Sort by extension.
alias lk='ls -lhSr' # Sort by size, biggest last.
alias lc='ls -lhtcr' # Sort by and show change time, most recent last.
alias lu='ls -lhtur' # Sort by and show access time, most recent last.
alias lt='ls -lhtr' # Sort by date, most recent last.
alias lm='ls -lha | more' # Pipe through 'more'.
alias lr='ls -lhR' # Recursive ls.
alias lsr="tree -Csu" # Recursive ls with nice output
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment