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

One of my new favorites-- use ctrl-r autocompletion to grab a command close to what I want from history, tack on a character that breaks it if necessary and run that.

Then use fc to get that command back in a vi editing context, change what I want and :wq

The resulting command is immediately executed. This process can be really fast compared to manually constructing long piped commands.



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

Search: