Is there a way to get the command that is being executed and the result of the command in the same output file?
i want a output file
command1 'some kind of delimiter' output 'New line'
command2 'some kind of delimiter' output 'New line'
command3 'some kind of delimiter' output 'New line'
is this possible ??? please guide me on achiving this ...
echothen command etc)?script. Seeman 1 script. It generates a log file that resembles the terminal interaction that you see.