Forrest logo
back to the cat tool

cat:ai:0966c

Redirects the scrollback buffer of virtual console 1 to a file named output.txt
$ cat /dev/vcs1 > output.txt
try on your machine

Redirects the scrollback buffer of virtual console 1 to a file named output.txt

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.

Questions that are answered by this command:

  • how to redirect scrolback buffer to a file?
back to the cat tool