• Skip to main content

Uly.me

cloud engineer

  • Home
  • About
  • Archives

Linux Script

June 30, 2020

The script command records all your keystrokes and output into a file called typescript.

You can start recording by simply typing script.

script
Script started, file is typescript
df -h
ls -l
exit

script Script started, file is typescript df -h ls -l exit

Typing exit stops the recording. Just cat typescript to see your recording.

cat typescript

cat typescript

Filed Under: Linux Tagged With: keystrokes, output, record, script, typescript

Search This Website

Subscribe Via Email

  • Home
  • About
  • Archives

Copyright © 2023