Press alt + numeric in bash and you get (arg [numeric]) what is that?
Press alt + numeric in bash and you get (arg [numeric]) what is that?
(This type of question is better suited for asking a human, instead of trying to "guess" for the correct terminology to search on the documentation via internet).
It repeats the next command given that many times, same as in Emacs. E.g. M-1-0 C-p moves back 10 history items. M-4 C-h backspaces four characters, M-3 M-t moves the previous word forward three times, and so on. Here I use M- meaning "meta" for the Alt key, as is the custom in Bash.
You can pass numeric arguments to Readline commands. Sometimes the argument acts as a 重复计数, 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'.