So I've just begun installing packages and software on my new work MBP. I have a set of alias commands that I'm migrating from the last work machine and having hiccups right out the gate.
I have a .bash_profile file in my home directory: bash profile
In my bash file for testing is a single alias, which contains normal "" quotes: alias example
When running the alias in terminal, the following error is produced: error message
I tested to see if the aliased command actually works with bash and it does: aliased command
Any help or insight would be greatly appreciated!
Thanks!
Exactly what your terminal is telling you is that the command ‘ls
-- with the quote character in the beginning -- doesn't exist.
I get the same behavior from doing
bash-3.2$ alias ll="‘ls -lG"
bash-3.2$ ll
bash: ‘ls: command not found
So I'm guessing you accidentally pasted or put an extra quote character (‘
) in there.