Computer Science, asked by asinghas3736, 10 months ago

When you want the system to execute a command you almost never have to give the full path to that command . How can it be acheived

Answers

Answered by Anonymous
8

When you want the system to execute a command, you almost never have to give the full path to that command. For example, we know ...

Answered by smartbrainz
1

The PATH environment variable of the system is used to achieve this.

Explanation:

  • The PATH is used to execute a command, without giving the full path to that command.
  • The 'PATH environment variable' lists the directories on the computer where executable files can be found, saving the user a lot of typing and storing command locations. So the PATH obviously contains a lot of bin directories in their names.  
  • The 'echo command' is used to display the content ("$") of the variable PATH.

To know more

Write value of path environment variable?

https://brainly.in/question/7649891

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​

https://brainly.in/question/11722084

Similar questions