小编Moh*_*wan的帖子

如何在bash变量中添加带空格的Path

我如何在.bashrc中的bash变量中添加带空格的路径?我想在.bashrc中存储一些变量用于路径,并且我面对带有空间的路径我尝试在''之间添加它或使用转义字符\它没有帮助

games=/run/media/mohamedRadwan/games\ moves    # this doesn't work
games='/run/media/mohamedRadwan/games  moves'  # or this
games="/run/media/mohamedRadwan/games  moves"  # or this
Run Code Online (Sandbox Code Playgroud)

......当我跑步时:

mount $games
Run Code Online (Sandbox Code Playgroud)

...它会抛出一个错误,表明它只是试图装载 .bashrc

...但是当我跑步时.bashrc,它会显示完整的价值,' '

我怎么能解决这个问题?

bash terminal

12
推荐指数
2
解决办法
1万
查看次数

在带有 SP1 的 Windows 7 32 位上安装 Python 3.8

我无法在 Windows 7 32 位上安装 Python 3.8,并出现 SP1 错误日志detected windows 7 sp1 without kb2533625,我整天都在搜索此更新,但没有找到任何帮助?

python windows windows-7 python-3.8

3
推荐指数
1
解决办法
3万
查看次数

标签 统计

bash ×1

python ×1

python-3.8 ×1

terminal ×1

windows ×1

windows-7 ×1