source source_OR_sh.sh
/dev/pts/5 $SHELL: /bin/bash $0: /bin/bash $BASH_VERSION: 4.4.12(1)-release called by source q is aliased to `return' ps of $$: bash ps tree of $$: root 301 291 0 14:40 pts/5 00:00:00 /bin/bash --rcfile /opt/conda/lib/python3.7/site-packages/pexpect/bashrc.sh root 366 301 0 14:42 pts/5 00:00:00 ps -efHww root 367 301 0 14:42 pts/5 00:00:00 grep 301 --color
bash source_OR_sh.sh
/dev/pts/5 $SHELL: /bin/bash $0: source_OR_sh.sh $BASH_VERSION: 4.4.12(1)-release called by *sh* q is aliased to `exit' ps of $$: bash ps tree of $$: root 342 301 0 14:42 pts/5 00:00:00 bash source_OR_sh.sh root 349 342 0 14:42 pts/5 00:00:00 ps -efHww root 350 342 0 14:42 pts/5 00:00:00 grep 342 --color
sh source_OR_sh.sh
source_OR_sh.sh: 1: source_OR_sh.sh: shopt: not found /dev/pts/5 $SHELL: $0: source_OR_sh.sh $BASH_VERSION: called by *sh* q is an alias for exit ps of $$: sh ps tree of $$: root 28 6 0 May21 ? 00:00:35 /opt/conda/bin/python -m bash_kernel -f /root/.local/share/jupyter/runtime/kernel-0d3351dc-2bb7-420a-8ed1-d5f3a0d01c4c.json root 351 301 0 14:42 pts/5 00:00:00 sh source_OR_sh.sh root 358 351 0 14:42 pts/5 00:00:00 ps -efHww root 359 351 0 14:42 pts/5 00:00:00 grep 351 --color