To log all your command line inputs and output to a file, use the command
script filename
This will log all your inputs and output into a log file named filename. (Of course replace filename with whatever you want the file name to be).
To finish with logging your commands, type
exit
To share a Unix screen terminal, so the customer can see your inputs and output in real-time, use the screen command.
- You and the customer log in as the same Unix user in ssh
- You type in the command
screen -d -m -S myscreenname
screen -x myscreenname
(Of course replace myscreenname with whatever you want the screen name to be). - The customer types the command
screen -x myscreenname - To finish with sharing your Unix terminals, type in the command
exit
If you want to use both script and screen at the same time, run the screen command first. The script command will not record the screen inputs/outputs if it is executed first.
No comments:
Post a Comment