UNIX Shells by Example (4th Edition)
| < Day Day Up > |
script ”creates a typescript of a terminal session
script [ a ] [ filename ]
script makes a typescript of everything printed on your terminal. The typescript is written to a filename. If no filename is given, the typescript is saved in the file called typescript . The script ends when the shell exits or when Ctrl-D is typed. Example A.48.
1 script 2 script myfile
EXPLANATION
|
| < Day Day Up > |