Computing.Net > Forums > Unix > urgent : problem in exporting varia

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

urgent : problem in exporting varia

Reply to Message Icon

Name: rajus19
Date: February 23, 2005 at 22:08:57 Pacific
OS: Unix
CPU/Ram: p4
Comment:

Hi when I am exporting variables that includes paths
(ex: export /home/varma), I am getting the error like
"is not an identifier".
please rectify it asap.


Thanks and Regards
Raju



Sponsored Link
Ads by Google

Response Number 1
Name: David Perry
Date: February 24, 2005 at 04:22:18 Pacific
Reply:

VAR="value"
export VAR

Please reference your /etc/profile for real examples.



0

Response Number 2
Name: pradeep desh
Date: February 24, 2005 at 04:46:22 Pacific
Reply:

HI raju,
assign the VAR the pathname of your file & then export the variable. this should solve your problem.
ex:
VAR=/home/varma
export VAR


0

Response Number 3
Name: WilliamRobertson
Date: February 26, 2005 at 11:44:20 Pacific
Reply:

Or just for fun,

export VAR
VAR="value"


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: urgent : problem in exporting varia

Facing problem in ftp................pl. www.computing.net/answers/unix/facing-problem-in-ftppl/3542.html

Help: problems installing 9 gig hd in SCO UNIX 3.2v4 www.computing.net/answers/unix/help-problems-installing-9-gig-hd-in-sco-unix-32v4/1648.html

Forcing filename into lowercase in NFS www.computing.net/answers/unix/forcing-filename-into-lowercase-in-nfs/1029.html