Bash shortcuts... # [Ctrl]B move backward one character. # [Ctrl]F move forward one character. # [Esc]B move one word backward. # [Esc]F move one word forward. # [Ctrl]A move to the first character in the line. # [Ctrl]E move to the end of the line. # [Ctrl]U delete the current line. # [Ctrl]K delete from the cursor's current position to the end of the line. Neat prompt. Displays green with a smile on sucessful execution of the last command, red with a frown if otherwise. PS1='`[ $? == 0 ] && echo -e "\033[01;32m:)" || echo -e "\033[01;31m:("` \u@\h:\w\$ \033[00m'