简体   繁体   English

为什么ubuntu终端找不到文件或目录?

[英]Why ubuntu terminal unable to find file or directory?

I'm using Ubuntu 20.4.05 LTS.我正在使用 Ubuntu 20.4.05 LTS。 It is not locating any directory as you can see in the image.正如您在图像中看到的那样,它没有找到任何目录。 For example, cd ~/Downloads doesn't take me to the directory.例如, cd ~/Downloads不会将我带到该目录。 No such file or directory image What should I do?没有这样的文件或目录图像我该怎么办?

as a first step you must know the position of the directory by writing the command pwd作为第一步,您必须通过编写命令 pwd 知道目录的 position

pwd密码

then you can write the ls command to see the contents of the list of folders or directories然后可以编写ls命令查看文件夹或目录列表的内容

ls ls

if the file you need is in that directory, you can enter that file by writing the command cd如果您需要的文件在该目录中,您可以通过编写命令 cd 进入该文件

cd光盘

access folder访问文件夹

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM