/dev/tty0
no Linux é o terminal virtual atual, enquanto /dev/tty1
, /dev/tty2
... são os terminais virtuais individuais.
Você pode obter um despejo do conteúdo de cada um deles por meio dos dispositivos /dev/vcs1
, /dev/vcs2
... ou o atual com /dev/vcs
(às vezes /dev/vcs0
)
# cp /dev/vcs1 some-file
# stty size < /dev/tty1
67 240
# fold -w 240 < some-file | sed 's/ *$//'
[...]
X.Org X Server 1.12.4
Release Date: 2012-08-27
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.2.0-4-amd64 x86_64 Debian
Current Operating System: Linux sc 3.10-2-amd64 #1 SMP Debian 3.10.7-1 (2013-08-17) x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.10-2-amd64 root=/dev/mapper/linux-debian64 ro quiet
Build Date: 17 April 2013 10:22:47AM
xorg-server 2:1.12.4-6 (Julien Cristau <[email protected]>)
Current version of pixman: 0.30.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.1.log", Time: Mon Sep 2 10:19:44 2013
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
resize called 1920 1080
[...]