A curated list of awesome command-line frameworks, toolkits, guides and gizmos.
A comparison for current operating systems inspired by the classic Unix Rosetta Stone
a quick shell script / bash function to switch to other working directories https://github.com/jamespo/commandmisc/blob/master/scripts/cdx.sh Example: (misc27)v $ ~ cdx 1) /home/james 2) /home/james/dev 3) /home/james/Maildir Select dir: 3 (misc27)v $ Maildir
Put this at the bottom of your ~/.bashrc if [ ! -f /tmp/.sshauthsock ]; then eval $(ssh-agent -s) echo “export SSH_AUTH_SOCK=$SSH_AUTH_SOCK” > /tmp/.sshauthsock else source /tmp/.sshauthsock fi
Leaving passwords in your shell history is a security issue. I wrote a tool to help check: checkhistory. Feel free to send me pull requests / patches with additional regexes to match.
Activate the autocd option (Bash 4+ only). It will let you type .. for cd .. and will actually let you use any directory as a command name and will cd to it: shopt -s autocd via bash – Any shortcut for “cd ..” ? – Super User.