If you're not using it almost daily, you should be..Er, assuming you're doing something where you need this info. Sure, you're debugging some process where your app is using massive resources it's useful, but it has its narrow audience.
and just to be sure it works as expected, do:rm -rf /.. there might be pesky users that have something like this:alias rm=rm -ibackslash ignores aliases..rm -i = interactive, ie. query yes
By the way if you're new to linux comands and want to know more, in the shell use:man [command]man # [page/command]'man' manual will search within these specific sections. by the way, a man page will have the section number in top left corner if you dont know which section its from :) where # is: 1 executables 2 system calls 3 library calls 4 special files 5 file formats 6 games 7 misc 8 sys admin commands 9 kernel stuffapropos [keyword] - search for this keyword in manual page names and their descriptions. so doing this: apropos man - will show all matches of string 'man' , even if within a word like'manual' or 'command' . do this:apropos -e man - search for exact word 'man'...There's a lot more to all this but these 2 are a staple to any newbie.Have fun :)
misteralSep 13, 2006
If you're not using it almost daily, you should be..Er, assuming you're doing something where you need this info. Sure, you're debugging some process where your app is using massive resources it's useful, but it has its narrow audience.
nbx909Sep 13, 2006
just for fun i've done it to a computer that i was going to do a fresh install on... very satifying
rafgarSep 13, 2006
What? No one uses lsof? You're kidding, right? I use it all the time. And here I was expecting to learn something new :-(
golgo13Sep 13, 2006
I would've thought the command would be,"shutdown -r now"because... well, I never have to reboot my system.
bt_wangSep 14, 2006
I'm ashamed of you. but you'll grow out of it some day, at least I hope so.
Closed AccountSep 14, 2006
no lsof on freebsd
angulionSep 14, 2006
and just to be sure it works as expected, do:rm -rf /.. there might be pesky users that have something like this:alias rm=rm -ibackslash ignores aliases..rm -i = interactive, ie. query yes
wildmxranatSep 14, 2006
By the way if you're new to linux comands and want to know more, in the shell use:man [command]man # [page/command]'man' manual will search within these specific sections. by the way, a man page will have the section number in top left corner if you dont know which section its from :) where # is: 1 executables 2 system calls 3 library calls 4 special files 5 file formats 6 games 7 misc 8 sys admin commands 9 kernel stuffapropos [keyword] - search for this keyword in manual page names and their descriptions. so doing this: apropos man - will show all matches of string 'man' , even if within a word like'manual' or 'command' . do this:apropos -e man - search for exact word 'man'...There's a lot more to all this but these 2 are a staple to any newbie.Have fun :)