Shell Scripting – set -euo pipefail Failsafe
Shell scripts don’t actually fail automatically. If one line returns a non-zero (failure) exit code, that code simply falls through…
Achieving Developer Excellence with Automated Testing
Shell scripts don’t actually fail automatically. If one line returns a non-zero (failure) exit code, that code simply falls through…
Show the current git branch on the shell prompt For Bash, add this to your ~/.bash_rc file For ZShell, add…
4) Git autocomplete on the shell prompt Go here, right-click and choose “Save As…”, save this file to your home…
Ruby RVM, rbenv, or Asdf 1) Choose between Ruby Version Manager or RBENV You’ll want to install either of two…
curl is the fasted command-line tool to see how a URI (uniform resource identifier) responds. You can send any kind…
On your Bash or ZShell prompt while you navigate the file system, hit tab once. It will “type for you”…
fg stands for foreground If you hit the Ctl-Z key (see #7), your process went into “the background.” What does…
Ctl-C — Stop a unix process Although the Background keystroke (#7) tells you “Stopped,” it is, in fact, Ctl-C that is the…
7) Ctl-Z — Background a unix process Ctl-Z (or Control-Z on your keyboard) is “background” which means “send the process…