Command 'make' is available in '/usr/bin/make'
The command could not be located because '/usr/bin' is not included in the
PATH environment variable.
make: command not found
It happened after I did this:
export PATH=/usr/lib/gcc/x86_64-linux-gnu/4.6/cc1/:$PATH
After I copied and paste it it automatically executed in the terminal after realizing my mistake I corrected like this below.
export PATH=/usr/lib/gcc/x86_64-linux-gnu/4.6/cc1/bin:$PATH
It isn't just make:
Command 'whoami' is available in '/usr/bin/whoami' The command could not be located because '/usr/bin' is not included in the PATH environment variable.
whoami: command not found
root@ubuntu:~/Downloads/NOOKPROJECT/nook2kernelsrc/distro>/kernel# whoami
Command 'whoami' is available in '/usr/bin/whoami' The command could not be located because '/usr/bin' is not included in the PATH environment variable. whoami: command not found
– Travis Wells Jun 04 '15 at 20:51echo $PATH
.echo
is a shell built-in comand. – A.B. Jun 04 '15 at 20:59export
command in a terminal then it will only affect that terminal (shell) - just open another one (Ctrl-Alt-t, or from the dash) – steeldriver Jun 04 '15 at 22:01