Why can't I access the bin directory with the following command?
ls / this shows me the hidden bin folder
cd bin I get this error 'No such file or directory'
|
Why can't I access the bin directory with the following command?
| ||||
|
feedback
|
This question came from our site for professional and enthusiast programmers.
|
When you do To access the root bin directory,
with the leading | |||
|
feedback
|
|
To further explain: List the current directory's contents (either one):
List the root directory's contents (wherever you are):
List the home directory's contents (wherever you are):
So your first command listed the contents of a directory that was (likely) not the one you were in. If you are wondering about your current directory, try
The prompt that you see does not always show the full path, since that would take up the entire screen. You can modify this, but it's not desired. | |||
|
feedback
|