An interactive shell reads commands from user input on a tty. Among other things A shell running a script is always a non-interactive shell. All the same, the .