Link to home
Start Free TrialLog in
Avatar of christoforatos1968
christoforatos1968

asked on

Access of directories

I am trying to access Elastix using LINUX commands. I need to view the directories using the ls command. How do i do this? View screenshot.
ls-comand.JPG
Avatar of Miftaul H
Miftaul H

Can you login as a superuser or root and see if ls works.

you can "su -s" to get a root shell.
ASKER CERTIFIED SOLUTION
Avatar of Mazdajai
Mazdajai
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
you have mistake in your cd command:

cd.. (you need to leave space between cd and ..)

To look for dirs only, try

ls -la | grep ^dr
The reason your ls command returned nothing is that your initial working directory has no files in it.

If you want to look at all the folders on the system, you will want to start by listing the root, so do:

ls /