# Open last modified file in vim alias Vim="vim `ls -t | head -1`" # Find top 5 big files alias findbig="find . -type f -exec ls -s {} \; | sort -n -r | head -5" # Grep for a bash process alias psg="ps -aux ¦ grep bash" # List including hidden files with indicator and color alias ls='ls -aF --color=always' # List in long format alias ll='ls -l' # To clear all the history and screen alias hcl='history -c; clear' # Make basic commands interactive, and verbose alias cp="cp -iv" # interactive alias rm="rm -i" # interactive alias mv="mv -iv" # interactive, verbose alias grep="grep -i" # ignore case # Easy to use aliases for frequently used commands alias x="exit" # Clear the screen and list file alias cls='clear;ls' # Filesystem diskspace usage alias dus='df -h' # To navigate to the different directories alias ..='cd ..' alias ...='cd ../..'