It depends on what you want On Sat, Jun 5, 2010 at 2:01 PM, narendra sisodiya < [email protected]> wrote:
> > > On Sat, Jun 5, 2010 at 9:35 AM, Debasish Ray Chawdhuri < > [email protected]> wrote: > >> The bashrc is in /etc directory. >> > > Wrong,, this will affect system level setting > > use > /home/usename/.bashrc file > > > >> And if you don't export, the variable will not be available to the child >> shells, one of which is your command prompt. >> So, Narendra is right. Modifying .bashrc of root will only affect root's >> environment. >> >> you can do either export var='asdfa', or var='asdfa' and then export var. >> Both of these have the same effect. >> -- >> Debasish Ray Chawdhuri >> Dept. of Textile Technology, >> IIT Delhi >> >> -- >> l...@iitd - http://tinyurl.com/ycueutm >> > > > > -- > ┌─────────────────────────┐ > │ Narendra Sisodiya > │ http://narendrasisodiya.com > └─────────────────────────┘ > > -- > l...@iitd - http://tinyurl.com/ycueutm > -- Debasish Ray Chawdhuri Dept. of Textile Technology, IIT Delhi -- l...@iitd - http://tinyurl.com/ycueutm
