Solved

Access of directories

Posted on 2013-12-29
4
233 Views
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.
ls-comand.JPG
0
Comment
Question by:christoforatos1968
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 11

Expert Comment

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

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

Accepted Solution

by:
Mazdajai earned 500 total points
ID: 39744734
Try-
pwd
ls -lah

Open in new window

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

Expert Comment

by:omarfarid
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
0
 
LVL 19

Expert Comment

by:xterm
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 /
0

Featured Post

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Let’s list some of the technologies that enable smooth teleworking. 
If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

630 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