Recently started playing with Ubuntu. I am playing with few shell scripts written for Korn Shell that I want to edit in Ubuntu. What shell does Ubuntu runs on? I guess its Bash? If it is, then is there any way to install or run a particular script under a particular shell?
The default scripting shell (
/bin/sh
) is dash. The default interactive shell (/bin/bash
) is bash. When using scripts on Ubuntu that are using/bin/sh
you may need to avoid various "bashisms", like arrays or {}-style globbing.yes, it is
bash
. To run a script you have to type./script_name
orsh script_name