I don't know everything, but here's the best takeaways from me thus far
This is my altar to everything that can and will go wrong in bash
- Alias frequent commands in your
.bashrc
. Do not echo in your.bashrc
, it breaks SFTP and other programs. Try/etc/motd
for welcome messages instead. ^_^ if [ -z "$SSH_AGENT_PID" ]; then eval "$(ssh-agent)"; fi; ssh-add $key
to avoid retyping your SSH key's password.- Learn regex at https://regexr.com. Bash uses globbing but some commands use regex. See also: Special Characters
- Learn vim and add
colo murphy
to your.vimrc
. Murphy is the most readable color scheme to me.set (no)number
andset (no)hlsearch
are also useful. man -f $cmd [...]
lists short descriptions of several commands.less +G $file
opens $file at the bottom.