Category: bash  shell

https://gist.githubusercontent.com/brunomiguel/efa59fe50a0ad361dbe99edb33aa02f0/raw/4979855b27f12f1b1abe572f58a06aab3e6e686c/gistfile1.txt

Change default shell to bash on Macos Catalina – nixCraft:

Starting with macOS Catalina, your Mac uses zsh as the default login shell and interactive shell. However, I have years of stuff aliases, function and scripts done in bash. So here is how to set and use bash as the default shell.

Linux/UNIX: Bash Read a File Line By Line – nixCraft: undefined

Bash shell find out if a variable has NULL value OR not – nixCraft: undefined

Bash get exit code of command on a Linux / Unix – nixCraft: undefined

Bash foreach loop examples for Linux / Unix – nixCraft:

How do I use foreach loop in bash shell running on Linux? You can’t but you can use either while or for loop to as identical to csh/tcsh foreach loop. 

Lmao: Well, the satisfaction is different

jm-shell – A Highly Informative and Customized Bash Shell: undefined

3 Ways to Change a Users Default Shell in Linux