Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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 will you emulate wc –l using awk?

0 Answers  


Where cron file kept?

2 Answers   Tech Mahindra,


write a program to display all the files from the current directory which are created in particular month

6 Answers  


What is path in shell script?

0 Answers  


What is the syntax of while loop in shell scripting?

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  


c program to check whether all the directories in the path exists has read and write permission

1 Answers  


Suppose you execute a command using exec, what will be the status of your current process in the shell?

0 Answers  


How u convert string "hi pravin how are you?" to "Hi Pravin How Are You?"

12 Answers   Cap Gemini,


How to get the first line from a file using just the terminal?

0 Answers  


What is a file basename?

0 Answers  


Determine the output of the following command: [ -z “” ] && echo 0 || echo 1

0 Answers  


Categories