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

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.


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




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

Search: