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

I use `!:p` to the same effect. Which has the benefit that you can insert a history number between the bang! and the colon: ( set PS1 to include the command number if you do this a lot ).


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

Search: