What is Path variable?What is its use?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Is shell scripting a programming language?

800


Why is the use of shell script?

747


what is tickets $ what low,medium,high priorite pls define time also

1922


What is a command line shell?

762


What is the way to do multilevel if-else's in shell scripting?

954


What is the first line in a shell script?

780


How to check if a directory exists?

786


i have 2 tables 4 colums table 1 respective values a1 6, a2 8,a3 9,a4 14 & table 2 respective values a1 6, a2 8, a3 9, a4 12. if compare 2 tables 3 colums values same then 4th column values 1)Qes diff >5 then (5 * diff value ) 2)Qes diff <5 the 5 3)Qes diff 5 then 5 print respective values..

1960


How are shells born?

731


Explain about return code?

825


What is awk in shell scripting?

788


madhar chod unix ke 10 commands dhang se likh nahi sakta hai

3203


What are scripts in psychology?

787


Is bash an operating system?

733


What is the fastest scripting language?

738