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:
-
lsCtrl + Alt + els -aF --color -
!268Ctrl + Alt + eps -aef -
$PATHCtrl + Alt + e/opt/vagrant/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games