Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That's good to know, although !$ is easier to type since you only need to depress the right shift key, whereas yours requires a quick shift on the opposite side. Makes a big difference when you're trying to quickly type "rm -rf !$" as root. :)


I don't think I'd type `rm -rf [anything]` quickly as root


Hence the smiley. Was a joke.


As a righty, I rarely ever use the right shift key.

Also, check it:

$ cd /happily/tabbing/out/some/really/deep/path/ooh/dear/maybe/its/java/WAIT_A.file

bash:> 'WAIT-A.file' is not a directory

$ nano $_ (opens file)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: