|
发表于 2009-9-19 00:02:40
|
显示全部楼层
呵呵呵呵,前两天刚看来的,楼主试试,这是我的笔记:
to realtime display CLI
Term A:
$ script -f
Script started, file is typescript
$
then,you can type any any command just as you normal op; & it will output as normal.
when you finish,Ctrl+D or exit
$ exit
Script done, file is typescript
----------------------------------
Term B:
$ tail -f typescript
英文很烂,别挑我毛病。能看懂就行了。不过默认不是写到日志里,楼主你变通着用吧。噢,忘了记出处了,向原作者致歉。 |
|