[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: set command



On Mon, May 22, 2006 at 11:50:31AM +0530, Kaushal Shriyan wrote:
> [root abc root]#a=10
> [root 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)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]