最好的网站服务器,硬件开发环境,惠州网页建站模板,怎么样做网站页面Linux 命令行访问名字中包含空格的文件或文件夹 References 在 Windows 下命名文件或文件夹名有空格是可以的#xff0c;甚至在 Windows 和 Ubuntu 虚拟机共享的文件中也可以这么做#xff0c;但是在 Ubuntu 中空格要用下划线代替#xff0c;养成好习惯。Linux 会把空格当成… Linux 命令行访问名字中包含空格的文件或文件夹 References 在 Windows 下命名文件或文件夹名有空格是可以的甚至在 Windows 和 Ubuntu 虚拟机共享的文件中也可以这么做但是在 Ubuntu 中空格要用下划线代替养成好习惯。Linux 会把空格当成分割符处理无法找到文件或文件夹。
文件夹 tensorflow boy 包含空格访问方式为 cd tensorflow\ boy、cd “tensorflow boy”、cd ‘tensorflow boy’。
strongforeverstrong:~$ cd ForeverStrong/
strongforeverstrong:~/ForeverStrong$ ll
total 20
drwxrwxr-x 5 strong strong 4096 Dec 22 10:28 ./
drwxr-xr-x 52 strong strong 4096 Dec 21 10:22 ../
drwxrwxr-x 2 strong strong 4096 Dec 22 10:18 tensorflow boy/
strongforeverstrong:~/ForeverStrong$
strongforeverstrong:~/ForeverStrong$ cd tensorflow\ boy/
strongforeverstrong:~/ForeverStrong/tensorflow boy$ ll
total 8
drwxrwxr-x 2 strong strong 4096 Dec 22 10:18 ./
drwxrwxr-x 5 strong strong 4096 Dec 22 10:28 ../
strongforeverstrong:~/ForeverStrong/tensorflow boy$
strongforeverstrong:~/ForeverStrong/tensorflow boy$ cd ..
strongforeverstrong:~/ForeverStrong$
strongforeverstrong:~/ForeverStrong$ cd tensorflow boy
strongforeverstrong:~/ForeverStrong/tensorflow boy$ ll
total 8
drwxrwxr-x 2 strong strong 4096 Dec 22 10:18 ./
drwxrwxr-x 5 strong strong 4096 Dec 22 10:28 ../
strongforeverstrong:~/ForeverStrong/tensorflow boy$
strongforeverstrong:~/ForeverStrong/tensorflow boy$ cd -
/home/strong/ForeverStrong
strongforeverstrong:~/ForeverStrong$
strongforeverstrong:~/ForeverStrong$ cd tensorflow boy
strongforeverstrong:~/ForeverStrong/tensorflow boy$ ll
total 8
drwxrwxr-x 2 strong strong 4096 Dec 22 10:18 ./
drwxrwxr-x 5 strong strong 4096 Dec 22 10:28 ../
strongforeverstrong:~/ForeverStrong/tensorflow boy$References
[1] Yongqiang Cheng, https://yongqiang.blog.csdn.net/