2007-07-20
I love the linux command line
In planning for the replacement, I was trying to remember the hardware in the Ubuntu server, PopsHP, I have setup for my parents in their condo. A quick search of Google showed me the lshw command. It was already installed on PopsHP and when I ran it (via an ssh connection), it suggested that "you should run this program as super-user". Which I did and piped the resulting text to a file. Next I ran a little script I have that uses rsync to transfer files to a subdirectory in my home folder on my main desktop machine. So in under five minutes I had a complete and detailed listing of the hardware in PopsHP, on my local machine.
Then as a bonus, as I was typing up this blog post, I discovered that lshw will format its output as HTML. So in under a minute, I reran the entire process adding in the HTML command line switch.
What can I say except that I love linux.
This work is licensed under a
Creative Commons Attribution-Share Alike 2.5 License.


