-bash: Export: [filename] Not A Valid Identifier

RegisterLogin
-bash: Export: [filename] Not A Valid Identifier
Post Description: i am running a command to set my environment variables on my linux centos server but i get this error when i try to send my command
Tags: -bash:, export:, [filename], not, a, valid, identifier
This Post Was Posted On Feb 28, 2010 By Restinalis62 #3177
i am running a command to set my environment variables on my linux CentOS server but i get this error when i try to send my command

# export FILENAME = my backups.tar.gz

then i get this message

-bash: export: 'my backups.tar.gz': not a valid identifier
Leave Your Comments
Related Pages: [Add Your Website]
Post New Topic
webune
#3531 1
your command should be like this instead:

# export FILENAME=my backups.tar.gz


as you can see, you had spaces between the equal sign, i removed those spaces
Feb 28, 2010 Reply Report abuse
©2011 Webune Forums - Mon Dec 19, 2011 1:19 am
Powered by: Webune Forums V3