Ubuntu – Why won’t terminal recognize /ect directory directly?

command linedirectory

so, when i type in "ls /" it shows all the directories (including ect), but somehow I cannot make it change to the working directory…it works when I try switching it to the dev or bin directory, but i can't access the ect directory nor the password information inside it (i didn't lose the password info or anything im just messing around with the system)


Best Answer

You have a typo in the directory name. It is /etc, not /ect.

Just to be clear, it seems you have not created a directory named /ect yourself so we can assume the standard name which is /etc.

I would suggest you to have a look at man hier to get more idea about how directories are laid out typically in Linux.

Related Question