Alias

From CleanPosts

Jump to: navigation, search

Create a custom command to list files

alias l = 'ls -l --color=auto'

Make the ls command print in a tree format

alias tree="ls -R | grep ":$" | sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^//' -e 's/-/|/'"

Make the ls command useful for a change

alias ls='ls -lhGpt --color=always'

Personal tools
Strangers In Paradise