What does script command do in Linux?

What does script command do in Linux?
Answer
The script command can be your to-go tool for documenting your work and showing others what you did in a session. It can be used as a way to log what you are doing in a shell session. When you run script, a new shell is forked. It reads standard input and output for your terminal tty and stores the data in a file.
 

Tìm kiếm

Back
Top