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
