I tried to use in a bash script, the unix command script (to log all input/ouput from the shell)
The script command is executed but nothing happend after unless 'exit' is typed to stop the script command then ls is executed.
The unix command script seems to open a second bash shell (pts/2) where I guess the ls command has to be executed but I didn't have found a way to do it???
Any help would be great