Suppose I have an alias in the bash shell. Is there a simple command to print out what command the alias will run?
Tell me more
×
Ask Ubuntu is a question and answer site for
Ubuntu users and developers. It's 100% free, no registration required.
|
The
|
|||
|
|
|
Just type |
|||||||||
|
|
I really like Ctrl+Alt+E as I learned from this answer. It "expands" the currently typed command line, meaning it performs alias expansion (amongst other things). What does that mean? It turns any alias, that might be currently written on the command line, into what the alias stands for. For example, if I type:
and then press Ctrl+Alt+E, it is turned into
|
|||
|
|