Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'man lsof- examples' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
man lsof- examples
Authored by: jecwobble on May 02, '03 10:53:10AM

I'm at work and can't try this (I have dial up at home, so I probably can't try it easily, anyway), but the examples section of the lsof man page shows how to isolate files based on internet domain and port number. This might be an alternative to piping GREP.



[ Reply to This | # ]
Additional extension
Authored by: fletcherpenney on May 02, '03 11:30:01AM

Make sure to try out m4p if you want to include files purchased
from the music store.

I use the following to catch it all at once.

lsof | grep "\(mp3\|m4a\|m4p\)"



[ Reply to This | # ]