http://www.perlmonks.org?node_id=424115


in reply to Your Favorite Heroic Perl Story

Very cool story. I'd ++ if I had any left... One question, though. rm -rf? On my system it has to be rm -Rf

My own story is far less dramatic. I simply have problems with my video players. Mplayer, and Ogle (if I start it from the menu rather than from a terminal) never die cleanly. Sometimes, by the end of the day, I have 20+ processes running due to one or the other program. I whipped up a quick one-liner to seek and destroy them all.

I'm looking forward to hearing other people's stories.


--
Linux, sci-fi, and Nat Torkington, all at Penguicon 3.0
perl -e 'print(map(chr,(0x4a,0x41,0x50,0x48,0xa)))'

Replies are listed 'Best First'.
Re^2: Your Favorite Heroic Perl Story
by Aristotle (Chancellor) on Jan 24, 2005 at 23:19 UTC

    man pkill?

    Makeshifts last the longest.

      Oh, sure... Just make my perl skills obsolete. ;-)

      Thanks for the tip. I never heard of pkill before.


      --
      Linux, sci-fi, and Nat Torkington, all at Penguicon 3.0
      perl -e 'print(map(chr,(0x4a,0x41,0x50,0x48,0xa)))'

        Take a look at the base system packages in your installation which install lots of binaries in /bin, /usr/bin, /sbin etc. Dig through the corresponding manpages. There are quite a few gems in there; few people know much of even the basic Unix tool set. I'm not done exploring myself.

        Makeshifts last the longest.

Re^2: Your Favorite Heroic Perl Story
by insensate (Hermit) on Jan 27, 2005 at 21:01 UTC
    # uname SunOS # rm usage: rm [-fiRr] file ...
    cheers!