2 ms·
It's shell syntax. !! is replaced by the whole previous command, !$ is replaced by the last argument in the previous command. There are tons of others, but thes
by pestaa 12y ago
It's shell syntax. !! is replaced by the whole previous command, !$ is replaced by the last argument in the previous command. There are tons of others, but these two I use the most.
Feels great to yell sudo !!.