Press alt + numeric in bash and you get (arg [numeric]) what is that?

后端 未结 7 684
挽巷
挽巷 2021-01-29 22:40

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

7条回答
  •  温柔的废话
    2021-01-29 23:04

    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.

提交回复
热议问题