centos7下输入命令ls,提示anaconda-ks.cfg
原因是 [root@localhost ~] 是linux主目录,相当于/root
[root@localhost /] 是根分区,相当于根目录
[root@localhost ~] # pwd //查看目前所在的工作目录的绝对路径
[root@localhost ~]# cd / //进入根目录
[root@localhost /]# ls //显示当前目录下的内容
centos7下输入命令ls,提示anaconda-ks.cfg
最新推荐文章于 2024-03-06 10:02:09 发布