- 论坛徽章:
- 0
|
SYNOPSIS\r\n script [ -a ] [ filename ]\r\n\r\nDESCRIPTION\r\n script makes a record of everything printed on your screen.\r\n The record is written to filename. If no file name is given,\r\n the record is saved in the file typescript.\r\n\r\n The script command forks and creates a sub-shell, according\r\n to the value of $SHELL, and records the text from this\r\n session. The script ends when the forked shell exits or when\r\n CTRL-D is typed.\r\n\r\nOPTIONS\r\n -a Append the session record to filename, rather than\r\n overwrite it. |
|