# echo "Hello world!"
-bash: !": event not found
为什么bash抱怨“!”:找不到事件“?不!一切都OK:
# echo "Hello world"
Hello world
更新:
我的bash版本:
# bash --version
GNU bash, version 4.2.46(1)-release (x86_64-redhat-linux-gnu)
本文由 投稿者 创作,文章地址:https://blog.isoyu.com/archives/linux-weishenmebashbaoyuanzhaobudaoshijian.html
采用知识共享署名4.0 国际许可协议进行许可。除注明转载/出处外,均为本站原创或翻译,转载前请务必署名。最后编辑时间为:9 月 16, 2019 at 03:42 下午