[nycbug-talk] fave BSD tips/tricks?

Francisco Reyes lists at stringsutils.com
Mon Aug 24 18:07:28 EDT 2009


Dru Lavigne writes:

> have a favourite tip or trick they'd like to see in this article?


!$ substitution

ls /etc
cd !$
Changes to /etc

Basically, !$ becomes the last parameter of the last command.

Safest to use for non changing/updating operations. ie don't recommend to do 
things like "rm !$".



More information about the talk mailing list