Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
olefoo
on July 4, 2014
|
parent
|
context
|
favorite
| on:
Unix Tricks
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: