That's another great option, thanks.
corvus
joined 1 year ago
Awesome!
the answer is !371:p and then up!
ohh now I got it....yes thats it! Thanks!!
but can you modify the command? I tried but I couldn't.
basename $0 returns bash in both.
It doesn't do anything, just prints a blank line.
Yeah, it's bash. But !12345 executes the command 12345, but I don't want to execute it, just print it to the prompt.
I was just told, but for the quick test I did I doesn't seem to let me modified the command before executing it.
I didn't know that, it's not what I was asking but it's a cool command, thanks.
Great, thank you!
view more: next โบ
Because learning Linux takes time, I've been using Linux and the command line many years and it's the first time I come across that command. I even made an alias for 'history | grep' to search for commands in history ๐