![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| export equivalent command in PERL | ammu | Shell Programming and Scripting | 1 | 09-17-2007 04:46 PM |
| typeset and export command difference | systemsb | UNIX for Dummies Questions & Answers | 0 | 05-16-2006 12:36 PM |
| UNIX export command - memory space | Nomaad | UNIX for Advanced & Expert Users | 2 | 04-10-2006 09:49 PM |
| export command | radhika03 | UNIX for Dummies Questions & Answers | 2 | 12-16-2005 09:25 AM |
| using export command | sveera | Shell Programming and Scripting | 4 | 04-01-2005 12:05 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
It takes a local variable and makes it global.
Try running a script that calls a function or another script. If the secondary script or function sets a LOCAL variable, it is gone when that function of script returns to the parent. If that variable is exported, it is a GLOBAL variable that will remain. |
|
||||
|
1:-Want to know what does export command do??
What is its functionality? The Best way to approach .. Go for the man page of "export" and "env" command. 2:- $at=1 $ echo $at 1 The variable above is it available to other script??? NO, It will be only for that terminal/shell. But if you want use that variable into your another scripts. You must have export it. Thanks Sanjay |
![]() |
| Bookmarks |
| Tags |
| export |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|