Skip to content

Instantly share code, notes, and snippets.

@bracke
Created August 10, 2013 17:49
Show Gist options
  • Save bracke/6201383 to your computer and use it in GitHub Desktop.
Save bracke/6201383 to your computer and use it in GitHub Desktop.
# Make some possibly destructive commands more interactive.
alias rm='rm -i'
alias mv='mv -i'
alias cp='cp -i'
# Add some easy shortcuts for formatted directory listings and add a touch of color.
alias ll='ls -lF'
alias la='ls -alF'
alias ls='ls -F'
# Make grep more user friendly by highlighting matches
# and exclude grepping through .svn folders.
alias grep='grep -i --exclude-dir=\.git'
# Clear the screen and list file
alias cls='clear;ls'
# Filesystem diskspace usage
alias dus='df -h'
# Shorthand navigation
alias ..='cd ..'
alias ...='cd ../..'
alias ....='cd ../../..'
alias .....='cd ../../../..'
alias del='rm'
alias dir='ls'
alias rmdir='rm -rf'
alias reload='. ~/.bash_profile'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment