我已经在笔记本电脑上安装了debian 10 32bit,并尝试使用ls,但是随后却什么也没打印。当我使用ls -a时,我得到这个:
root@acer-aspire-one:~# ls //This prints nothing
root@acer-aspire-one:~# ls -a
. .. .bashrc .profile
并且dir也什么也不显示
root@acer-aspire-one:~# dir //This prints nothing
root@acer-aspire-one:~# dir -a
. .. .bashrc .profile
您的当前路径是~
,它是当前用户的(根)主文件夹。该文件夹是空的,除了ls -a
显示的一些隐藏文件之外,它是全新安装。
所以ls
在做它的工作。
[使其列出特定路径,例如/
,您可以像这样运行ls /
或第一个cd
进入该路径:
cd /
ls