How to Log terminal commands and outputs in Ubuntu
This post was written by admin on December 10, 2009
Posted Under: General
Posted Under: General
Use the two command:
cat /dev/vcs1 >screenshot
script screen.log
this will start record what you input and what it outputs in the first opened terminal window.
If you have opened several terminal windows you can change the number 1 to 2 or 3 which means the second terminal window or the third terminal window.
When you type:
exit
this stops record,and you can see the file “screen.log” for what you did.
Related posts:
- CLIcompanion-Run and Store terminal commands from a GUI
- MobaXterm – enhanced terminal X server and Unix commands for Windows
- Change Gnome-terminal default startup size in Ubuntu
- List of commands determine system info/resources/partitions/process in Ubuntu Linux
- Change network card MAC Address on Ubuntu
Tags: ubuntu terminal

Reader Comments