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

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -