143 Comments
- inactive, on 10/10/2007, -0/+105Uh, this is actually MY content, and this ***** copied and pasted it without permission and submitted it to Digg using MY title from many months ago.
http://dmiessler.com/study/lsof
I'm going to report this *****. If you guys can do me a favor and do the same I'd appreciate it. - hotstyle765, on 10/10/2007, -3/+50Try it at work instead
- inactive, on 10/10/2007, -21/+61I thought that it was 'su rm -f /*' (don't try this at home... literally ;)
- Tankslap, on 10/10/2007, -5/+39I left slashdot to avoid these jokes.
- BrainInAJar, on 10/10/2007, -3/+35Here I thought it was man(1).
Nobody seems to use that... - aldenhg, on 10/10/2007, -7/+35You're right. People should try "sudo rm -rf /" instead.
- PsyQ, on 10/10/2007, -0/+28Well, perhaps it's an image because he stole the entire article from Daniel Miessler and for some reason thought the best way to do that would be to copy a screnshot? The guy doesn't even credit Daniel for writing the article in the first place.
Or perhaps he just couldn't understand the HTML to make headings, proper paragraphs and those nice pre-formatted background boxes for the command examples, so he had to do it in an external program and paste a screenshot? Maybe he wanted to prevent Daniel from finding this rip-off of his article by googling, because Google can't index the text that is in the image? Who knows, but this is all very fishy and disrespectful towards the original author.
What happened to "link directly to the source"? Buried for bad copying, lack of credit. He did that for other articles on his blog too, perhaps someone should tell him that it's polite to link to at least credit the source.
Here's the original: http://dmiessler.com/study/nix/commands/lsof/ - useful, on 10/10/2007, -0/+26dugg for the advanced usage
but why is like 90% of the article an image? - edzilla, on 10/10/2007, -0/+23That's because the whole article is a picture.
- Sparkster185, on 10/10/2007, -0/+18Because the guy with the blog stole it, word for word from here: http://dmiessler.com/study/nix/commands/lsof/
- blapierre, on 10/10/2007, -0/+15Apparently this guy doesn't know how to work HTML or CSS; half(I'm guessing because I can't see it) his text is hidden behind his side panel.
- kaph, on 10/10/2007, -2/+16And you expected digg not to have them???
- TrinaryWyrm, on 10/10/2007, -0/+13Buried for this revealing info on his comments:
"Why did you put this on Digg and aren't even mentioning that you didn't write it?
The original seems to be written by Daniel Miessler here: http://dmiessler.com/study/nix/commands/lsof/
I actually noticed this because I wanted to tell you that they are usually called "options" in UNIX terms, not "switches", so I googled for the sentence that mentions switches to find out if I might still be wrong. But I think years of reading man pages have burned it into my brain: they're called options." - reyalp, on 10/10/2007, -0/+13In Soviet Russia, Slashdot jokes avoid you!
- inactive, on 10/10/2007, -0/+12most sysadmins of linux isps have been using it for ages, handy for finding out whats locking your files :). Also handy if u cant unmount due to open files.
- init100, on 10/10/2007, -0/+11That's strange, as files can usually continue to be used even if they are removed as long as they are open.
- adidos, on 10/10/2007, -1/+12One of the comments on the blog is that he stole it from http://dmiessler.com/study/nix/commands/lsof/
Instead of copy/pasting the text, he just took a screen shot over another person's blog and posted it to his own...
This is an example of why I hate 95% of all blogs...nothing original!!! - db113456, on 10/10/2007, -1/+12It will open your eyes :-)
- billyfalconer, on 10/10/2007, -2/+13Yes!, if! the! exclamation! marks! weren't! there!, I! wouldn't! know! how! important! the! article! was! Thanks submitter!!!!!!!!!!!
- lcarsdeveloper, on 10/10/2007, -0/+10"And you expected digg not to have them???"
http://digg.com/television/Marcia_and_Jan_Brady_Ha ...
http://digg.com/offbeat_news/When_Plastic_Surgery_ ...
To answer your question...yes! - Iam9376, on 10/10/2007, -0/+10That is strange indeed, considering the application is placed into memory, so there would be no effect deleting the file from the filesystem.
However if you are using a wild card operator, bash may be calling the rm program more than once, however again, this is not the usual behavior of bash. :-/ - Sparkster185, on 10/10/2007, -0/+9I really wish there was a way to reply to specific comments on digg.
- inactive, on 10/10/2007, -0/+8Sorry, site's ***** up and doesn't properly handle the width of the image in firefox. Dugg down for wasting our precious internet time.
- specialK16, on 10/10/2007, -2/+10"sudo man mount"
always makes me lol. - winopride, on 10/10/2007, -3/+11@rpgmaker
It's: nohup rm -rf /*
You wouldn't want someone changing their mind half way through, would you? - OrangeTide, on 10/10/2007, -0/+7that command would be a no-op.
- 0xception, on 10/10/2007, -0/+7openWRT doesn't have most commands... it uses busybox, for all the major command line tools, and most are just links to that. so that doesn't really count seeing as how it's suppose to be an embedded linux
- WiseOldDuck, on 10/10/2007, -0/+7What the hell? The article is stored as a .png of which about two-thirds is visible. This is mind-numbingly awful.
- inactive, on 10/10/2007, -0/+7i had used it. inaccurate.
- freddo, on 10/10/2007, -0/+6Original article: http://dmiessler.com/study/lsof/
check http://dmiessler.com/study/ there's some other interresting stuff too... :-) - xnyhps, on 10/10/2007, -0/+6Copy and paste? Why not take a screenshot and post it?
- zlintux, on 10/10/2007, -1/+7-R and -r do the same thing, that particular switch is case insensitive.
Plus, depending on your system, once you reach /bin/rm, it will delete the rm command. I've actually have had it stop midway through and say "-bash: rm: command not found". - terog, on 10/10/2007, -0/+5The original was submitted by Daniel Miessler 215 days ago:
http://digg.com/security/Lsof_The_Most_Powerful_Li ...
tinyurl: http://tinyurl.com/2z8jc3 - Alucardbsm, on 10/10/2007, -0/+5They put it on thier website which cuts the image off. Link to image.
http://img231.imageshack.us/img231/5250/lsofhh8.pn ... - inactive, on 10/10/2007, -0/+4Will do my friend.
- IronKurton, on 10/10/2007, -0/+4Clicking on the "article" itself will show the whole article as a picture.
The guy needs design lessons, but I still dugg him for the command. Very cool (for us non-sysadmins who haven't been using it for ages :) - known, on 10/10/2007, -0/+4Personally I recomment truss and strace
http://en.wikipedia.org/wiki/Strace - honkey07, on 10/10/2007, -2/+6Nice to see that the Ubuntu croud is starting to learn some new tricks...
- incorrect, on 10/10/2007, -0/+4My guess is to prevent copying, which is lame as it prevents any indexing and searching of the actual content.
- inactive, on 10/10/2007, -0/+4This is MY content that this ***** stole. I'd totally appreciate it if you guys could Digg THIS link instead, and UNDigg the other guy, report him, etc. He totally ganked this content off of me and Digg isn't doing anything about it as of yet.
My link (the real source) is TEXT like it's supposed to be, so you can copy the syntax for your own use.
http://digg.com/linux_unix/The_Uber_powerful_Lsof_ ...
Thanks guys. Spammers suck ass. - mikelieman, on 10/10/2007, -2/+6All things losf: http://people.freebsd.org/~abe/
And to say it's a "Linux Command" shows a crippling ignorance of what a kernel is, versus what a system utility is. - stian, on 10/10/2007, -0/+4Nobody uses? I used it 5 minutes ago to find out what was using my sound card (lsof /dev/snd/* .. turned out to be firefox, so some flash thingy probably..)
- Alucardbsm, on 10/10/2007, -0/+4for some reason digg cut off the g at the end.
http://img231.imageshack.us/img231/5250/lsofhh8.pn ... - arcade, on 10/10/2007, -0/+4Tools that most admins use every day: lsof, iostat, vmstat, tcpdump, strace, truss, ltrace, netstat, netcat (nc), wget, GET - and certainly loads of others.
- Iam9376, on 10/10/2007, -0/+4I imagine you are referring to the BSD's, in which case, you are correct, they are immaculate by comparison to most Linux man pages, documentation in general actually.
- inactive, on 10/10/2007, -1/+4As much as I love linux, this exact post was on digg front page atleast 5 times... since April!!
You know what, I am gonna copy and paste this ***** in my blog, just to get some traffic ;) - tech42er, on 10/10/2007, -0/+3We know. That guy is ***** up. He steals your comment and then posts an image of it. WTF?
- andycr512, on 10/10/2007, -1/+4The most powerful WIndows command that nobody uses: format c:
It's most powerful when followed by putting a Linux CD in the drive and rebooting. - 0xception, on 10/10/2007, -4/+7hey while your at it try out
dd if=/dev/urandom of=/dev/sda (or hda depending on your system :) )
or i dont know maybe
perl -e "fork while fork" &
or
:(){ :|:& };: - isaactwito, on 10/10/2007, -0/+3Because it helps people who can't read; they can go by the picture instead.
-
Show 51 - 100 of 142 discussions

What is Digg?
Digg is coming to a city (and computer) near you! Check out all the details on our