centos7下输入命令ls,提示anaconda-ks.cfg,这是什么意思?ls不是查看文件列表吗?那些boot、root等等文件跑哪去了?
天蓬老师2017-04-17 14:48:32
Are you sure the prompt is anaconda-ks:cfg
and not a file named anaconda-ks.cfg
?
高洛峰2017-04-17 14:48:32
The path is wrong, here is mine.
[root@localhost ~]# ls
anaconda-ks.cfg install.log install.log.syslog rpmbuild tmp
[root@localhost ~]# pwd
/root
[root @localhost ~]# cd /
[root@localhost /]# ls
bin boot dev etc home lib lib64 lost+found media mnt opt proc root sbin selinux srv sys tmp usr var
PHP中文网2017-04-17 14:48:32
How to arrange partitions when installing the system? It may have something to do with your separation
迷茫2017-04-17 14:48:32
Your path is wrong.
You executed it under /root
.
If you want to see the files you mentioned, you should execute cd /
and then execute ls
or Execute directly ls /