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

is there any command to find user password?

4 Answers  


How to change our default shell?

5 Answers  


How do you know which shell I am using?

0 Answers  


What is the difference between a 'thread' and a 'process'?

3 Answers  


How do I set bash as default shell mac?

0 Answers  






c program to display the information of given file similar to givan by the unix or linux command ls -l

0 Answers   IBM,


what are bootlevel in linux?which level is booting by default.

5 Answers   Symphony,


What does sh mean?

0 Answers  


What is ms powershell?

0 Answers  


‎What is a shell? · ‎Types of shell · ‎what is shell scripting?

0 Answers  


How do we delete all blank lines in a file?

0 Answers  


How does ls command work?

0 Answers  


Categories