See what is going on the Linux console screen

last updated in Categories

/dev/vcsN is a character device i.e. it refers to the memory of the currently displayed virtual console terminal. These are character devices for virtual console terminals, they have major number 7 and minor number 1 to 63.

You may do a screendump on using cat command (vt2) or just see what is going on the Linux console screen:

# cat /dev/vcs2 > /tmp/output.vt2.
# cat /dev/vcs2

It may be handy to monitor remote system vts.

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.