September 7, 2012
Neville Li & David Xia
- clear the screen Ctrl-L
- signal end of file (close terminal tab or exit ssh) Ctrl-D
- abort current command Ctrl-C
- jump to beginning of line Ctrl-A
- jump to end of line Ctrl-E
- clear the line Ctrl-U
- clear the line ahead of the cursor Ctrl-K
- delete backwards one word Ctrl-W
-
search backwards Ctrl-R
-
search forwards Ctrl-S
PS1="[\d \t \u@\h:\w ] $ "
displays date/time, hostname and current directory- add to ~/.bashrc to make permanent
- more special characters
- bash-completion (debian/ubuntu/homebrew)
- autojump (homebrew/debian/ubuntu)
$ j [a few characters in the path]
- zsh
- oh-my-zsh
- community-driven framework for managing zsh configuration
- plugins
- terminal themes
- easily customizable
- multiple connections
- repeated connections
- hostname aliases
- don't need to type usernames
- persistent connections
- jumphost
- more
CTRL-P/N previous/next history entry
ALT-B/F back/forward one word