Viewing Linux console screens

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search

If you want to see what's displayed on a certain Linux console screen remotely (i.e., you're not left some programs running, or want to see the output of some program you started before etc.), log in to the machine you want and do:

cat /dev/vcs1 | less

To see the first console (ctrl+atl+F1). Replace "1" with the number of any other console you want to view.

However, this will be rather unformatted.

If you want to see the console as it is, do (an example output of the backup process which has finished):

# setterm -dump 1
# cat screen.dump | less
Personal tools
Namespaces
Variants
Actions
Navigation
ideas?
Toolbox