Originally posted by evolu
you are so rad! I have to wait till I get home to try this - but this was EXACTLY the type of post I was looking for.
Thanks, glad to be of service
lsof is one of those incredibly useful programs that for some odd reason doesn't seem to be a default install on too many systems.
How does one learn more about using the terminal anyway?
Years of practice
Seriously, there are some good threads with suggestions on this site.
It's a unix structure, so any of the introduction to unix / linux books or websites are a good start. Try googling something like 'unix command basics'
In the terminal the command 'man' is like help. if you type 'man lsof' you'll get the help page for it (well within unix definitions of help anyway).
man -k will do a keyword search. So if you say "man -k 'open file'" you will see al list of commands that may relate to open files.
The unix system is incredibly complex. I've been using it for over a decade and I'm only just scratching the surface.
Whenever I have something I want to do and don't know how google is my friend...