Ubuntu – bash: alias: alias: not found

aliasbash

When I log in, I see the error:

bash: alias: alias: not found

If I source my .bashrc file, the message appears again.

What is causing this?

Best Answer

I had the same issue, so the solution is to follow simply rules.

alias alias_name='command '

no other symbols between equal sign.
I had whitespaces between the sign and the source ~/.bashrc always failed for me.
so be attentive