Added: 1 year ago
From: metalx1000
Views: 1,116
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (9)

Sign In or Sign Up now to post a comment!
  • 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.

  • Excellent tutorial! 

  • 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.

  • 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