What is Path variable?What is its use?



What is Path variable?What is its use?..

Answer / guest

PATH is an environment variable.
It contains the sequence of paths seperated by colons(:)
when we enter commands on the prompt the shell first checks
that coorresponding program to execute in those paths
specified in PATH variable.

We can print that sequnece by typing
echo $PATH

Is This Answer Correct ?    8 Yes 0 No

Post New Answer

More Shell Script Interview Questions

Rewrite the command to print the sentence and convert the variable to plural: echo “i like $variable”.

0 Answers  


one folder contains lot of students name but I want to fetch hello with every student name individually using shell script

0 Answers  


c program which behaves like a shell(command interpreter). it has its own prompt say "NewShell$".any normal shell command is executed from your shell by starting a child process to execute a system program corrosponding to the command

0 Answers  


What is a boot block?

0 Answers  


What is shell scripting?

0 Answers  






What is the command to find out today's date?

0 Answers  


What is the conditional statement in shell scripting?

0 Answers  


How do I open the shell prompt?

0 Answers  


What is sh in shell script?

0 Answers  


What is a batch file used for?

0 Answers  


What is inside a seashell?

0 Answers  


What language is shell scripting?

0 Answers  


Categories