Solved

Access of directories

Posted on 2013-12-29
4
228 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
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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

This is a step by step guide on creating single number reach (mobility) for Cisco Call Manager.  After configuring this when someone calls your deskphone after 3-4 rings your cell phone will start to ring.  If you do not answer the call will go to y…
Moving your enterprise fax infrastructure from in-house fax machines and servers to the cloud makes sense — from both an efficiency and productivity standpoint. But does migrating to a cloud fax solution mean you will no longer be able to send or re…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

744 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now