The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Export command prakash.kudreka UNIX for Advanced & Expert Users 3 11-20-2007 08:37 AM
export equivalent command in PERL ammu Shell Programming and Scripting 1 09-17-2007 03:46 PM
typeset and export command difference systemsb UNIX for Dummies Questions & Answers 0 05-16-2006 11:36 AM
UNIX export command - memory space Nomaad UNIX for Advanced & Expert Users 2 04-10-2006 08:49 PM
using export command sveera Shell Programming and Scripting 4 04-01-2005 11:05 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 12-16-2005
radhika03 radhika03 is offline
Registered User
  
 

Join Date: Aug 2005
Posts: 18
export command

Is there any difference between these 2 commands :-

export var="a"

and

var="a"
export var
  #2 (permalink)  
Old 12-16-2005
Bhups Bhups is offline
Registered User
  
 

Join Date: Dec 2005
Posts: 23
no chnage...

i guess the only thing it would have affected is that whether variable is exported at all or not ...and for that ypu can check by getting/spawning few more shells and checking if the variable exported is available or not..

bottomline:both the commands will serve the same purpose
  #3 (permalink)  
Old 12-16-2005
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,111
Very old shells do not allow the first form.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:36 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0