Take a look at this example:
[boda]$ alias aaa='echo aaa'
[boda]$ function aaa () { echo bbb }
[boda]$ function aaa () { echo bbb; }
[boda]$ aaa
aaa
As you can see I've both alias aaa
and function aaa
. However when I execute aaa
the alias runs.
How do I run the function instead?
when I execute aaa the alias runs.
You can run it as:
\aaa
This will call function.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With