set command

Kayvan A. Sylvan kayvan at sylvan.com
Mon May 22 06:34:08 UTC 2006


On Mon, May 22, 2006 at 11:50:31AM +0530, Kaushal Shriyan wrote:
> [root at abc root]#a=10
> [root at abc root]#set
> 
> I can see the a=10
> 
> Now when i go to another shell I dont see the value a=10

You need to use "export".

Read "man bash" (search forward to the "export" command).

-- 
Kayvan A. Sylvan          | Proud husband of       | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan, | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | my beautiful Queen.    | Robin Gregory (2/28/92)




More information about the users mailing list