Generic version of shell.