Few commands not found after exporting environmental variables in the system
Hi
I need to set the environmental variables. I did it through ./bashrc file by exporting needed variables. after that i restarted the system using command: #/etc/init.d/nfsserver restart .After this now i am facing command not found problem for few commands like clear, make, etc.... |
PATH is one of the bash environment variables. If you changed your PATH variable, the the path to the commands you want to use is no longer in the search path. You will have to add the path to those commands back into your PATH variable.
Note that the commands will still work if you give the full path to the executable file in the command line. |
Check the file permition
Hello
Check the file permition with Code:
ll /etc/init.d/nfsserver Code:
-rw------- 1 root root ... Code:
chmod u+x /etc/init.d/nfsserver Good Luck |
Yeah I tried what you said
Quote:
Thanks |
All times are GMT -5. The time now is 05:11 PM. |