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

How does shell scripting work?

0 Answers  


What is the conditional statement in shell scripting?

0 Answers  


how to delete all the files with extension .dat rom a directory tree from root to third level in a single unix command?

4 Answers  


What are the different types of variables used in shell script?

0 Answers  


how can you execute the shell scripts?

4 Answers  






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

0 Answers  


What is scripting used for?

0 Answers  


What lives in a shell?

0 Answers  


How to add some content in any file at some desired location without using VI or some other editor in UNIX

2 Answers  


What is the syntax of while loop in shell scripting?

0 Answers  


what is the difference between cmp and diff commands

2 Answers   Amazon, CTS,


Explain about debugging?

0 Answers  


Categories