Set environment variable with space in Linux

前端 未结 3 881
一向
一向 2020-12-15 03:13

I want to set an environment variable that has space in it. it is a path to a folder and the folder name is: /home/mehrabib/my video

I edit .bashrc and add the follo

3条回答
  •  醉酒成梦
    2020-12-15 03:35

    You can also substitute special characters - use * as a wildcard to substitute for the space.

    VIDEO="/home/mehrabib/m*o"

提交回复
热议问题