Skip to content

Instantly share code, notes, and snippets.

@igniteflow
Created December 14, 2012 10:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save igniteflow/4284590 to your computer and use it in GitHub Desktop.
Save igniteflow/4284590 to your computer and use it in GitHub Desktop.
## Colorize the ls output ##
alias ls='ls --color=auto'
## Use a long listing format ##
alias ll='ls -la'
## Show hidden files ##
alias l.='ls -d .* --color=auto'
## get rid of command not found ##
alias cd..='cd ..'
## a quick way to get out of current directory ##
alias ..='cd ..'
alias ...='cd ../../../'
alias ....='cd ../../../../'
alias .....='cd ../../../../'
alias .4='cd ../../../../'
alias .5='cd ../../../../..'
## Colorize the grep command output for ease of use (good for log files)##
alias grep='grep --color=auto'
alias egrep='egrep --color=auto'
alias fgrep='fgrep --color=auto'
## Start calculator with math support
alias bc='bc -l'
## Generate sha1 digest
alias sha1='openssl sha1'
## Create parent directories on demand
alias mkdir='mkdir -pv'
## Colorize diff output
# install colordiff package :)
alias diff='colordiff'
## Make mount command output pretty and human readable format
alias mount='mount |column -t'
## Command short cuts to save time
alias h='history'
alias j='jobs -l'
alias path='echo -e ${PATH//:/\\n}'
alias now='date +"%T'
alias nowtime=now
alias nowdate='date +"%d-%m-%Y"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment