I hope someone can help me solve this problem.
I am working on a mac and recently I was trying to use the export path function in .bash_profile to help me run a command from any directory in the terminal. This was my first time doing this and I did something wrong as all my commands stopped working. I managed to fix this issue using some code I found online and I also deleted the incorrect line of code I added in the .bash_profile. But now each time I open up the terminal I notice this error message.
Last login: Mon Feb 15 16:27:45 on ttys003 -bash: PATH: command not found
I am not sure what this means exactly. All my commands work fine, but I would like to fix this as I am concerned it may cause problems in the future.
Any advice would be appreciated!
PATH =
where it should bePATH=
. Without knowing the exact code this is the best guess.