Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • 3
    "Just saying cat /dev/vcsN has a similar effect". Then why not just use cat /dev/vcsN? Commented Nov 24, 2018 at 16:45
  • 5
    Try it and see. Commented Nov 24, 2018 at 16:46
  • Nice. Is there a way to get it to do colour as well? (screendump reads from /dev/vcsa devices which does have colour information, but it seems to be stripped from the output.) Btw. I like to combine it with the watch command to see live output like watch -n0.1 screendump. Commented Nov 25, 2018 at 13:25
  • @WeijunZhou /dev/vcs devices don't contain information about the size of the screen, so cat /dev/vcsN only works if your terminal window has the same number of characters across as the VC you are capturing. Commented Nov 25, 2018 at 13:26