Y
Hacker News
new
|
ask
|
show
|
jobs
by
blacksmith_tb
2438 days ago
I use it all the time! But also worth remembering that !$ is the object of your last command, so you could do something like
cp /some/tortured/path/to/file.txt /some/other/path/file.txt
chown myuser:myuser !$