0
感覺這個問題很愚蠢,但似乎無法將目錄更改爲Windows XP IE7
。請參閱下面的我嘗試過的內容。更改爲名稱中帶空格的目錄
[[email protected] VirtualBox VMs]# ls -l
total 8
drwxr-xr-x 4 justMe justMe 4096 Dec 19 07:20 Windows XP IE6
drwxr-xr-x 4 justMe justMe 4096 Dec 19 06:48 Windows XP IE7
[[email protected] VirtualBox VMs]# cd Windows XP IE6
-bash: cd: Windows: No such file or directory
[[email protected] VirtualBox VMs]# cd Win*
[[email protected] Windows XP IE6]# ls -l
total 3558896
drwx------ 2 justMe justMe 4096 Dec 19 07:20 Logs
drwx------ 2 justMe justMe 4096 Dec 19 07:20 Snapshots
-rw------- 1 justMe justMe 18529 Dec 19 07:20 Windows XP IE6.vbox
-rw------- 1 justMe justMe 18586 Dec 19 07:20 Windows XP IE6.vbox-prev
-rw------- 1 justMe justMe 3640700928 Jul 24 12:03 Windows XP IE6.vdi
[[email protected] Windows XP IE6]#
是的,我覺得很傻!謝謝 – user1032531
替代方案是使用反斜槓來轉義空格: 'cd Windows \ XP \ IE6' – 2012-12-19 15:46:02