TLDR
Enter a command. For example: nsnake, utmpdump, grub mkconfig.

script

 
Record all terminal output to file. More information: https://manned.org/script.
 
  • Record a new session to a file named typescript in the current directory:
     
    script
     
  • Record a new session to a custom filepath:
     
    script {{path/to/session.out}}
     
  • Record a new session, appending to an existing file:
     
    script -a {{path/to/session.out}}
     
  • Record timing information (data is outputted to the standard error):
     
    script -t 2> {{path/to/timingfile}}

This is a tldr pages (source, CC BY 4.0) web wrapper for cheat-sheets.org. All commands, popular commands, most used linux commands. Referrals. Progressive Web Application (PWA) version to install on your device.