0

I accidentally overwrote the log output of the terminal.

What i did was

script logfile

commands 

exit

and then i accidentally overwrote the file as:

script logfile
0

I don't see a question, but your original file is gone, unrecoverable, deleted. You will have to execute commands again.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.