bash

Bash shortcuts

CTRL + U = Delete everything
CTRL + W = Delete a word
CTRL + A = Go to Line starting
CTRL + E = Go to Line end 
CTRL + LEFT/RIGHT ARROW = move cursor by one word

Enable color prompt

Edit .bashrc, add following

export PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *