SCREENDUMP(1)

๐Ÿ“ฆ
version 2.10.0 ยท 2 versions
, in arch rolling, debian trixie, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

โœจ SCREENDUMP(1) โ€” General Commands Manual โœจ

๐Ÿ’– NAME

okay so screendump is the command that dumps the contents of a virtual console straight to stdout ๐Ÿ–ฅ๏ธโœจ

๐ŸŽ€ SYNOPSIS

screendump [options] [N]

๐Ÿ’… DESCRIPTION

okay bestie, the screendump command dumps the contents of virtual console N (or the console you're currently on, if you leave N out) to standard out ๐ŸŒธ it's giving very "copy the screen into my terminal" energy ๐Ÿ˜ญ

ngl, this is not the only way to do it! just saying, cat /dev/vcsN has a similar effect ๐Ÿฆ‹

๐Ÿฆ‹ OPTIONS

  • -V, --version โ€” shows you the version number ๐Ÿ”ข
  • -h, --help โ€” pulls up the usage message ๐Ÿ“–

๐Ÿ”’ NOTES

okay this part is lowkey important so pay attention ๐Ÿ‘€ for security reasons, screendump uses the linux devices "virtual console screen" and "virtual console screen with attributes" to give access for screendump. no cap, that's the whole deal ๐Ÿ”

you need to make sure these files exist first ๐Ÿ› ๏ธ you can do that by running:

cd /dev
for i in 0 1 2 3 ...; do
     mknod vcs$i c 7 $i
     mknod vcsa$i c 7 `expr 128 + $i`
done

(just fill in the ellipses yourself, periodt ๐Ÿ’€) then give the device files appropriate permissions ๐Ÿ—๏ธ, or run screendump as root ๐Ÿ‘‘

๐Ÿ’œ AUTHORS

Andries Brouwer <aeb@cwi.nl> is the original author ๐Ÿซถ the manpage was written by Alastair McKinstry <mckinstry@computer.org> ๐Ÿ’•

๐ŸŒˆ SEE ALSO


kbd ๐Ÿ“ released 2002-02-24, and this page is from SCREENDUMP(1) ๐Ÿงš stay iconic, bestie ๐Ÿ’…๐ŸŽ€

๐Ÿ“ฆ where this page comes from