bash: ls: command not found
terminal application
Commands like ls, clear not working
NITHIs-MacBook-Pro:~ nithi$ ls
-bash: ls: command not found
MacBook Pro 15", 10.13
terminal application
Commands like ls, clear not working
NITHIs-MacBook-Pro:~ nithi$ ls
-bash: ls: command not found
MacBook Pro 15", 10.13
Found the solution.
Mapped the path --> /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin in bash_profile
Issues resolved.
NITHIs-MBP:~ nithi$ echo $PATH
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
Found the solution.
Mapped the path --> /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin in bash_profile
Issues resolved.
NITHIs-MBP:~ nithi$ echo $PATH
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
What does echo $PATH show?
How about cat ~/.bash_profile?
bash: ls: command not found