can I save the output of a terminal before it crashes

Asked by Elias K Gardner

Im trying to play Civ 4 Beyond the sword in wine. While in civs menu the game crashes and logs me out of gutsy.
I would like to be able to look at the output of the terminal from the crash to know what happens. Is this saved anywhere or is there a way to make it save to a file?

I was told to put > log.txt (log.txt being the name of the file to create) to create a log file of the terminal output. I have tested this with other commands but when i try it with civ the file is created but it is always blank.

here is the command I am using if it helps

wine '/home/estle/media/games/civiv/Beyond the Sword/Civ4BeyondSword.exe' > log.txt

anybody know how to do this?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Elias K Gardner
Solved:
Last query:
Last reply:
Revision history for this message
Elias K Gardner (zorkerz) said :
#1

So when I close civ before the crash the log file is made but is still empty so it must be something to do with the way im using the command.