Does sourcing a script in subshells still allow the commands in the script to access the state of the original shell?
40020
Why do `jobs` and `dirs` run in command subsitution, process substitution, pipeline, and background jobs output the same as in original shell?
94087
Is a sub-shell the same thing as a child-shell
82669
Is it possible to give sudo access to only a particular command?
112632
How can I find the source code for linux commands?
68792
What is the difference between using bash and sh to run a script?
139274
What's the difference between 'sudo [command]' and 'sudo sh [command]?
133631
how to source a shell script [environment variables] in perl script without forking a subshell?
155110
What is the difference between executing a Bash script vs sourcing it?
54838
determine shell in script during runtime
3723
Can a shell script set environment variables of the calling shell?
103196
How to find list of available shells by command-line?
10754
determining path to sourced shell script
123473
"command not found" when running a shell script. What did I break?
86391
Why are non-environment variables passed to the subshell invoqued by command substitution?
109962
How do I list all available shell builtin commands?
120413
How can I detect if the shell is controlled from SSH?
68462
Supply SU password in a bash script, within the script?