bash中如何回声
$ echo "`"
> _
(_
是输入,我认为)
$ echo "`"
> _
(_
is input, i think)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
$ echo "`"
> _
(_
是输入,我认为)
$ echo "`"
> _
(_
is input, i think)
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
逃脱严重的口音。这对外壳很特别,是执行命令替代的一种方式(古老的方法)。
如 @dave_thompson_085所指出的那样,另一种选择是使用单个引号代替您使用的双引号,或者通过执行
echo“ \ x60”
来指定宽限期口音的十六进制表示。您可以从ascii
manpages找到ASCII字符的十六进制等效物。Escape the grave accent. It's special to the shell and is one way (the archaic one) to do command substitution.
As noted by @dave_thompson_085 an alternative is to use single quotes in lieu of the double quotes you used, or to specify the hexadecimal representation of the grace accent, by doing
echo "\x60"
. You can find the hexadecimal equivalents of ASCII characters from theascii
manpages.