I am trying to access a directory on a linux terminal but it says “No such file or directory” even though it exists

  Kiến thức lập trình

I’m new to using linux, so I’m not sure why this is occuring or how to deal with it. When I’m trying to access a directory on the terminal, it tells me it does not exist, even though it shows up when I use ls.

The image shows me going step by step, first accessing Downloads then using ls to see whether 1-1-build is listed, then trying to access 1-1-build

I initially used ../1-1-build and thought it could be a syntax thing so I went step by step and it still persisted. I also tried accessing other files within Downloads and I had the same issue, so it’s not only one file causing the problem. I have also tried typing the exact file path from the file’s properties, which has not worked

New contributor

shugor is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

LEAVE A COMMENT