My Ubuntu headless server is about to lose both hard drives(raid1). I already saved the most important stuff. Now I'm sitting in front of a Mac OS X client with the terminal open (ssh).

I need to save the whole or at least the most important install commands I wrote. So basically the first 1k commands...

I would like to print that & save it to a file. So I can easily reinstall everything.

By the way, also save some hard researched config files that I don't remember where they are.