Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

If I'm using Firefox and filling out a big form (with lots of text to write), and for some reason I accidentally press F5 and all my text in the forms is lost, I can use e.g. HxD on Windows to retrieve the text, because they're still in memory. How can I do the same under Ubuntu?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

You can browse through the virtual /proc/kcore file (the image of the RAM) and look for a string you typed. So for example (all as root)

strings /proc/kcore | grep unbelievable

will look for a string unbelievable

hd /proc/kcore | less

will give you a hex formatted output of all the RAM.

As a sidenote, I would recommend using the Lazarus FF/Chromium extension, which can save your bacon/forms and prevent these problems.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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