bashrc script not accepting space in directory name
- by faizal
I have added a variable at the end of my ~/.basrc file :
export xyz = /home/faizal/DEV/ADT workspace/xyz
But if i open a new terminal, i get the error :
bash: export: 'workspace/xyz': not a valid identifier
So i try a variety of alternatives :
export xyz=/home/faizal/DEV/ADT\ workspace/xyz
export xyz="/home/faizal/DEV/ADT workspace/xyz"…