screendump (1) - Linux Man Pages
screendump: dump the contents of a virtual console to stdout
SYNOPSISscreendump [ N ]
DESCRIPTIONThe screendump command dumps the contents of virtual console N , (or the current console if N is omitted) to standard out.
- cat /dev/vcsN
NOTESFor security reasons, screendump uses linux devices "virtual console screen" and "virtual console screen with attributes" to give access for screendump.
Ensure these files exist, using
for i in 0 1 2 3 ...; do
(filling in the ellipses) and give the device files appropriate permissions, or run screendump as root.