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

在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键;

相关文章

用的openwrt路由器,家里宽带申请了动态公网ip,为了方便把2...
#!/bin/bashcommand1&command2&wait从Shell脚本并行...
1.先查出MAMP下面集成的PHP版本cd/Applications/MAMP/bin/ph...
1、先输入locale-a,查看一下现在已安装的语言2、若不存在如...
BashPerlTclsyntaxdiff1.进制数表示Languagebinaryoctalhexa...
正常安装了k8s后,使用kubect工具后接的命令不能直接tab补全...