How to re-execute the last command which name begins with 'c' in Korn Shell (ksh)?
Just like in the title. I do not know how I can do it in Korn Shell. I tried:
r 'c*'
...with no result. Can s开发者_运维知识库omeone help me with this one?
simply r c
works for me (Ubuntu 10.10)
Use r c
.
Maybe r isn't aliased on your system? Should be:
alias r='hist -s'
精彩评论