Bang History Month

Knowing my console laziness, you will no doubt share my joy to discover the ! feature (I guess it’s called bang history) of at least bash and csh. If you type:
$ wget https://gooberface.com/
and later want to run that same command, just do:
$ !wg
for example.

It seems to match the most recent command starting with the letters you specify. Very cool.

2 thoughts on “Bang History Month

  1. bash is awesome. my vote for best shell in history – far better, than say, clam. ;)

Leave a Reply

OpenID

Your email address will not be published.

Anonymous

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>