Skip to content

Instantly share code, notes, and snippets.

@petrowsky
Created June 7, 2021 17:36
Show Gist options
  • Save petrowsky/fcdc6ee503fb19823e08f884e19d7ee8 to your computer and use it in GitHub Desktop.
Save petrowsky/fcdc6ee503fb19823e08f884e19d7ee8 to your computer and use it in GitHub Desktop.
alias ll="ls -l --group-directories-first --color=auto"
alias ls='ls -hF --color=auto' # add colors for filetype recognition
alias la='ls -Al --color=auto' # show hidden files
alias lx='ls -lXB --color=auto' # sort by extension
alias lk='ls -lSr --color=auto' # sort by size, biggest last
alias lc='ls -ltcr --color=auto' # sort by and show change time, most recent last
alias lu='ls -ltur --color=auto' # sort by and show access time, most recent last
alias lt='ls -ltr --color=auto' # sort by date, most recent last
alias lr='ls -lR --color=auto' # recursive ls
alias dir='dir --color=auto' # add colors
alias vdir='vdir --color=auto' # add colors
alias grep='grep --color=auto' # add colors
alias fgrep='fgrep --color=auto' # add colors
alias egrep='egrep --color=auto' # add color
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment