bash - Copy all typed command in a linux console & their result to a file -
i'm trying make script automatically install programs , configure them on fedora 19 linux distribution. create it, made vm , i'm typing command manually in "terminal" application.
i'd able log i've typed , output (stdin & stderr & stdout if understood well) can use log make script.
is there way ?
you can use script
command record session:
$ script session.txt script started, file session.txt $ ls session.txt $ exit script done, file session.txt $ cat session.txt script started on wed 31 jul 2013 07:36:40 cest $ ls session.txt $ exit script done on wed 31 jul 2013 07:36:42 cest
Comments
Post a Comment