Hacker News new | ask | show | jobs
by laurent92 1522 days ago
Is there a shortcut to reuse the result of the last command? “which java => ll $(!!)”, but the “!!” reexecutes the last command, I’d like something which doesn’t.
1 comments

I'm not personally aware of a way to do that. When I need to do that I do indeed just run $(!!)