linux-script脚本使用

script -a -f /tmp/all.txt # 在命令行下,执行命令,将所有命令和执行结果保存到/tmp/all.txt下面

 

 进入script脚本后,修改bash标签 export PS1='[\u@\H@\d-\t@\w] \$ '

 

 

script脚本分析
http://blog.csdn.net/hazing/article/details/51311841

posted @ 2017-04-25 15:50  woxiaohaha  阅读(376)  评论(0)    收藏  举报