logging a shell/bash session?
Hey,
Frequently, while installing software and such, I have the desire to log an entire bash/shell session, so that I can go back and document what I did. How can this be accomplished? Thanks! Justin |
hi there
just run history in that shell after u arer finished and u will get a list of all the commands regards |
Sure, but that's not going to let you see the output. I guess should make it clear that I need to see the output, also. That's important for long scripted sessions or reviewing a log compilation.
|
|
kencaz, the irony in your signature makes me laugh. RTFP!
You guys need to READ the post before you reply! As I said, I need to log an entire bash/shell session. Input, output, everything! Kencaz, you can't just redirect bash... you wouldn't be able to read the output... try `bash >> bash.log`... no go! I finally found a solution on my own... type `man script` for a solution. |
yes thats is good option
i myslef was looking for something like this regards |
Feel free to click the Thanks button.
j/k :] |
All times are GMT -5. The time now is 03:03 AM. |