Readline Shortcuts Cheatsheet
These shortcuts are used on your unix command line prompt. They are done using the CONTROL (or CTRL) key on your keyboard. This is known historically as the “GNU readline…
Succeed with Automated Testing and TDD
These shortcuts are used on your unix command line prompt. They are done using the CONTROL (or CTRL) key on your keyboard. This is known historically as the “GNU readline…
Shell scripts don’t actually fail automatically. If one line returns a non-zero (failure) exit code, that code simply falls through to the next line, but the shell script keeps running.…
5) Show the current git branch on the shell prompt Add this to your ~/.bash_profile script Now when your working at your shell prompt, you will see the name of…
4) Git autocomplete on the shell prompt Go here, right-click and choose “Save As…”, save this file to your home directory as ~/.git-completion.bash(Remember, that ~ means your home directory.) Then…
3) Set the default EDITOR for you Shell Sometimes you are on the shell prompt and your shell prompt needs you to edit a document, save it, and “give it…
You’ll want to install a tool called that lets you switch between Node versions. Remember, even-numbered Node versions (like 14, 16, and 18) are production-ready Node versions. Odd numbered are…
1) Choose between Ruby Version Manager or RBENV You’ll want to install either of two tools: Ruby Version Manager, known as RVM, or its alternative and competitor RBENV. Benefits of…
curl is the fasted command-line tool to see how a URI (uniform resource identifier) responds. You can send any kind of web request (GET, PATCH, POST, PUT). To send a…
Tab-tab — Auto-suggest BONUS! Bash comes with a special bonus: Tab-tab. When you hit tab twice, your shell prompt will show you a list of suggested completions and then return you…
Tab — Auto-complete On your Bash or ZShell prompt while you navigate the file system, hit tab once. It will “type for you” — automatically matching what it thinks you…