Skip to main content
edited tags
Link
Gilles 'SO- stop being evil'
  • 866.5k
  • 205
  • 1.8k
  • 2.3k
Source Link
Aravind
  • 1.7k
  • 9
  • 34
  • 48

Export path with space in directory name

I have a path "/third/party/city of las vegas"

when cd the path I use "/third/party/city of las vegas".

In .profile file I have exported the path to a variable as follows

export clv="/third/party/city of las vegas" 

when I try to cd $clv it is throwing an error. How can I export a path which have spaces in the directory name