bash
oferece o atalho Ctrl + Alt + e (da página bash
man):
shell-expand-line (M-C-e) Expand the line as the shell does. This performs alias and history expansion as well as all of the shell word expansions.
Exemplos:
-
ls
Ctrl + Alt + els -aF --color
-
!268
Ctrl + Alt + eps -aef
-
$PATH
Ctrl + Alt + e/opt/vagrant/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games