When you want the system to execute a command, you almost never have to give the full path to thatcommand. How can it be achieved?The PATH environment variable takes care of this.The SYSTEM_PATH environment variable takes care of this.The commands which declared under /usr/bin don't need to use full path.This is not correct, you do have to specify the full path unless you are located under the commanddirectory
Answers
Answered by
7
Answer:
PATH
Explanation:
When the user wants to execute any commands, the command prompt environment will check whether the application or the command is available in the current directory and then checks the associated directory. This is done by means of an environmental variable called “PATH”. The only disadvantage of this environmental variable is that, sometime it might hang/ stop while searching in the invalid location or it might slowdown the process when it is searching in the associated directory.
Similar questions