Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Record All Screen Output to File - BASH -Linux

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
1,076
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Link to this comment:

Share to:

Uploader Comments (metalx1000)

  • just use "script". it's a bash builtin and designed for that purpose

  • @transacid: Great, I didn't know about this. I'll play with it some.

  • if I cat my file once, it doubles the size. If I cat it again, it is 4 times as big. My trivia question: if i cat my file my output is writing to 20 times, and I start with a 1 mb txt file. How big will the file be when I am finished

  • @Droz42: 1048576 mb? Maybe :/

  • @metalx1000

    Yes, 2^20th which is 1048576mb, which is also exactly 1TB.

  • @Droz42: Isn't that interesting. Yeah, at first I tried 1^20th, which of course turned out to be 1. Then I realised it should be 2^20.

see all

All Comments (9)

Sign In or Sign Up now to post a comment!
  • Excellent tutorial!

  • you can also try script for this, it lets you do some other things like put time stamps for commands

  • To dump scrollback buffer this works for me

    cat /dev/vcs > screendump.txt

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more