I created an alias so that when I type la it does ls -la.
When I fire up terminal on my Mac, I get:
-bash: alias: la: not found
-bash: alias: =ls -la: not found
Why would this be?
My .bash_profile looks like:
alias la ='ls -la'
I think it needs to be:
alias la='ls -la'
(note there are no spaces around the equal sign.)
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
5 years ago
1 year ago