-   Linux - Software (
-   -   logging a shell/bash session? (

JustinHoMi 04-09-2005 10:14 PM

logging a shell/bash session?

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?


masand 04-09-2005 10:16 PM

hi there

just run history in that shell after u arer finished
and u will get a list of all the commands


JustinHoMi 04-09-2005 10:23 PM

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 04-09-2005 10:27 PM

This may help. If that is what your asking...


JustinHoMi 04-09-2005 10:34 PM

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.

masand 04-09-2005 10:52 PM

yes thats is good option

i myslef was looking for something like this


JustinHoMi 04-09-2005 11:34 PM

Feel free to click the Thanks button.

j/k :]

All times are GMT -5. The time now is 01:01 AM.