When you want the system to execute a command, you almost never have to give full path to that command. How can it be achieved?
Answers
Answered by
2
Explanation:
A path, which is the way you need to follow in the tree structure to reach a given file, can be described as starting from the trunk of the tree (the / or root directory).
Answered by
0
The path environment takes care of the mentioned situation. This path variable will list all of the directories in the system where such executable files are detected.
Explanation:
- Thus this variable saves the user in memorizing and typing the locations of all commands. Finally echo command is used for displaying the search results in the console.
- The only disadvantage in using this variable is, it might stop/hang while searching for invalid locations.
Learn more about path environment
What is an absolute and relative path in linux environment?
https://brainly.in/question/11992604
What should be default system variable name for path in environment variable
https://brainly.in/question/10419433
Similar questions
Math,
6 months ago
English,
6 months ago
Chemistry,
11 months ago
Computer Science,
11 months ago
Math,
1 year ago