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

A more general way to do this is with M-. (Esc-.). This fetches the last argument from the previously entered command. Very handy when you need to apply multiple commands to a file or directory.

Repeat this key combo to fetch the last argument from further back in your command history.

I use this all the time (almost as much as tab completion).



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

Search: