加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > 安全 > 正文

在bash中按alt数字,你得到(arg [numeric])是什么?

发布时间:2020-12-15 16:36:09 所属栏目:安全 来源:网络整理
导读:在bash中按alt数字,你得到(arg [numeric])是什么? (这种类型的问题更适合询问一个人,而不是试图“猜”正确的术语在互联网上搜索)。 您要Google的字词是: "readline arguments" 这将导致,例如,这chapter from the bash reference manual: You can pass
在bash中按alt数字,你得到(arg [numeric])是什么?

(这种类型的问题更适合询问一个人,而不是试图“猜”正确的术语在互联网上搜索)。

您要Google的字词是:
"readline arguments"

这将导致,例如,这chapter from the bash reference manual:

You can pass numeric arguments to Readline commands. Sometimes the argument acts as a repeat count,other times it is the sign of the argument that is significant. If you pass a negative argument to a command which normally acts in a forward direction,that command will act in a backward direction. For example,to kill text back to the start of the line,you might type ‘M– C-k’.

The general way to pass numeric arguments to a command is to type meta digits before the command. If the first ‘digit’ typed is a minus sign (‘-‘),then the sign of the argument will be negative. Once you have typed one meta digit to get the argument started,you can type the remainder of the digits,and then the command. For example,to give the C-d command an argument of 10,you could type ‘M-1 0 C-d’,which will delete the next ten characters on the input line.

为了工作,你必须知道Meta键的映射:有时它的Alt,有时是Esc,酷电脑有一个专用的Meta键;

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读