开发者

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'
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜