Access of directories

Posted on 2013-12-29
Medium Priority
Last Modified: 2014-01-03
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.
Question by:christoforatos1968
LVL 11

Expert Comment

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

you can "su -s" to get a root shell.
LVL 21

Accepted Solution

Mazdajai earned 1500 total points
ID: 39744734
ls -lah

Open in new window

'pwd' is parent working directory where as the other 'ls' list in long listing format.
LVL 40

Expert Comment

ID: 39745841
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
LVL 19

Expert Comment

ID: 39746588
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 /

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Often times it's very very easy to extend a volume on a Linux instance in AWS, but impossible to shrink it. I wanted to contribute to the experts-exchange community a way of providing a procedure that works on an AWS instance. It can also be used on…
Cron is one of the most popular and basic utilities found on Unix systems. Combined with other tools, cron makes it exceptionally easy to automate a broad range of tasks on your server.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Suggested Courses

597 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question