請問shell script中export環境變數的問題 - Linux

By Cara
at 2008-09-15T20:04
at 2008-09-15T20:04
Table of Contents
如果現在有兩個script
script1和script2
內容分別是
#script2
export PORT=Linux
#end of file
=============
#script1
./script2
echo $PORT
#end of file
請問有辦法讓script2中export的變數繼續存在script1裡面嗎?
--
script1和script2
內容分別是
#script2
export PORT=Linux
#end of file
=============
#script1
./script2
echo $PORT
#end of file
請問有辦法讓script2中export的變數繼續存在script1裡面嗎?
--
Tags:
Linux
All Comments

By Kama
at 2008-09-17T19:24
at 2008-09-17T19:24
Related Posts
急問 關於架站在linux上

By Jake
at 2008-09-15T17:39
at 2008-09-15T17:39
請問Linux下測試記憶體的程式?

By Tom
at 2008-09-15T16:46
at 2008-09-15T16:46
最近在學linux,想請益些許問題

By Robert
at 2008-09-15T11:22
at 2008-09-15T11:22
ubuntu 今天玩了一天的問題加心得!!

By Edith
at 2008-09-15T11:16
at 2008-09-15T11:16
sendmail如何作forward的功能呢?

By Agatha
at 2008-09-15T09:45
at 2008-09-15T09:45