Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Ovid (2709)

Ovid
  (email not shown publicly)
http://publius-ovidius.livejournal.com/
AOL IM: ovidperl (Add Buddy, Send Message)

Stuff with the Perl Foundation. A couple of patches in the Perl core. A few CPAN modules. That about sums it up.

Journal of Ovid (2709)

Monday February 19, 2007
09:26 AM

!find

[ #32437 ]

You know, when you're running bash, it's real fun to type !find discover that the last find command ended with | xargs rm. Fortunately it was only deleting vim swap files I didn't need, so no harm done, but I must remember ctrl-r in the future.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • I've been bitten by something similar in the past which is why I always scroll through my bash history with my arrow keys so that I can see the exact command before hitting enter. You know, just in case ;-)
  • "\e[A": history-search-backward
    "\e[B": history-search-forward

    That way, up and down arrow search through history lines that begin with what you've just entered.
    • Someone else recommended Magic Space [ukuug.org] to me just now. Today's the first I've ever heard of .inputrc and now I hear it twice in one day :)

      Thanks for the tip. It works great.

    • And just to make sure:

        set +H