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...

How to modify the PATH variable and make it executable?

Answer Posted / kaustubh

In shell we can set any env variables in .bashrc file,
.bash_profile file in the user directory or fin /etc/bashrc

by setting variable name PATH(here)
and then export
example

PATH=$home/bin/
export PATH

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is subshell?

952


How to debug the problems encountered in the shell script/program?

1146


How to write a function?

1032


Where are cowrie shells found?

1015


Explain about debugging?

1024


What is the syntax of "nested if statement" in shell scripting?

1097


Determine the output of the following command: name=shubham && echo ‘my name is $name’.

983


Why do we write bin bash in shell scripts?

1013


How to get the 3rd element/column from each line from a file?

1189


What is meant by $1 in shell script?

951


write a shell script to check the failed jobs?

4406


Can shell script run on windows?

1068


Explain about sourcing commands?

1096


What is the best shell scripting language?

1022


What is bash command used for?

1069