If you are sure that you are in the right directory, BE SURE that you write the filename Exactly as what it is. Because Linux is case sensitive and for example, if you have a file with name "Sample" and you try to open "sample" file, you will get the error.
if you type manually, try to use Tab button in your keyboard. it will auto-Complete the file/dir name for you. With this way, if you have typo or wrong spelling, Tab does not complete the name and you will know that there is something wrong with what you type in terminal.
Another comment suggested that I use "ls" to see if the terminal can see the file. I got a permission denied error, and used
find. -type d -exec chmod 755 {} \;
to resolve this.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.