Does the sh
linux command use the users current shell, even if its not bash
? For example, let's say the user bob is running csh. If I create a script with functions and csh and try and execute it with:
sh cshtestscript
Will this run with csh?
Then assume another use joe is using bash. If I create another script with functions and bash script and try and execute it with:
sh bashtestscript
Will this run with bash?