Here are some tips for working in the shell that I use on a daily basis. These may be known to most veterans, please contribute your favorite shortcuts to the comments. But for the most part this is not for the uber leet Linux geek, this is for those new to the terminal.
– Gives you suggestions / completes stuff for you. Type a, Press it twice, it will make your life a lot easier.
– Remove word behind cursor.
– Undo / Erase everything from cursor to beginning of the line
– Type out whatever you typed out last, can be combined with tools like sudo
– Go forward to the end of the previous word
– Move cursor back to the beginning of the previous word
– You’re done? Press ctrl+d to logout. If you’re in a virtual terminal, it may also close the window.
– Stop the current process. Say you run gvim, and then you want to spawn another process. Press ctrl+z, then type bg. Once you’re done with the “other” process, you may type fg to bring it back into the foreground.