When I log in, I see the error:
bash: alias: alias: not found
.bashrc file, the message appears again.
What is causing this?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
You can put quotes around the commands you are aliasing. You can even put them around the alias, too.
'llg'='ll | grep'
Newlines are also a problem. Widows-saved
.bashrc file caused errors in Ubuntu virtual machine:
command not found
dos2unix .bashrc to convert the line endings, and then everything worked.