I have remove.sh which contains:rm -v test.tmpAnd I have install.sh which contains:script remove.log -c './remove.sh'What can I do so that whether or not test.tmp exists, I don't see any rm related messages on the screen but see removed 'test.tmp' or rm: cannot remove 'test.tmp': No such file or directory in remove.log which the script command produces?
stdout , stderr and logging using the script command
scripting;logs;stdout