linux - Why can't I enter this folder using the cd command?
PHP中文网
PHP中文网 2017-05-16 13:25:18
0
2
1067

There is an aaa folder under the home folder. Why can't I select the aaa folder?

PHP中文网
PHP中文网

认证0级讲师

reply all(2)
给我你的怀抱

As it says, because there is no such directory.

Terms such as "home directory", "home directory", "home folder" and "user directory" refer to ~ 所代表的目录,即分配给这个用户的主要目录。对于普通用户,通常它位于「/home/用户名」。你说的应该是~/aaa,展开来也就是 /home/test/aaa.

Remember to use ls to view the directory contents.

黄舟

cd aaa //Open aaa in the current directory

cd /aaa //Open aaa in the root directory

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!