-bash: Export: [filename] Not A Valid Identifier
- Forums
- Linux
- -bash: Export: [filename] Not A Valid Identifier
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 [3300], Last Updated: Mon Jun 24, 2024
Restinalis62
Sun Feb 28, 2010
1 Comments
634 Visits
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
as you can see, you had spaces between the equal sign, i removed those spaces
https://www.webune.com/forums/not-valid-identifier.html