|
Record Eveything Printed on Your Terminal Screen. $ script -a <filename> Now start doing stuff and "everything" is appended to <filename>. For example $ script installation $ (command) $ (result) $ ... $ ... $ (command) $ (result) $ exit The whole session log is in the installation file that you can later read and/or cleanup and add to a documentation. This command can also be used to redirect the contents to another user, but you must be root to do this. Step 1 - find out what pts they are using. $ w Step 2 - Run script on that pts. After running this command below everything you type will appear on their screen. $ script /dev/pts/4 Thanks to
This e-mail address is being protected from spambots. You need JavaScript enabled to view it
for his contribution to this tip.
|