Why does the value of BASH_SUBSHELL not change while the value of SHLVL changes?
94087
Is a sub-shell the same thing as a child-shell
60829
Double and triple substitution in bash and zsh
28353
On what systems is //foo/bar different from /foo/bar?
129792
Shell script throws a not found error when run from a sh file. But if entered manually the commands work
137445
Why is $ the default symbol for a user shell and # the default symbol for a root shell?
40516
Why bash does not spawn a subshell for simple commands?
132222
Why does /bin/sh behave differently to /bin/bash even if one points to the other?
39036
Shell programming temp=$1 vs temp=1
117521
Why does Bash's source not need the execution bit?
121294
In Bash, are wildcard expansions guaranteed to be in order?
76028
Why doesn't my Bash script recognize aliases?
8269
bash if not multiple conditions without subshell?
30485
Why do I get different outputs in case of sh and bash?
41427
Multiple commands and subshell execution after pipeline
116601
What is the difference between 'su -' , 'sudo bash' and 'sudo sh'?
102224
Does variable=$(...) store the command or the result of the command in POSIX sh
139274
What's the difference between 'sudo [command]' and 'sudo sh [command]?