Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Access of directories

Posted on 2013-12-29
4
Medium Priority
?
242 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 1500 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

Enhanced Intelligibility Without Cable Clutter

Challenge: The ESA office in Brussels wanted a reliable audio conference system for video conferences. Their requirement - No participant must be left out from the conference and the audio quality must not be compromised.

Question has a verified solution.

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

The purpose of this article is to demonstrate how we can use conditional statements using Python.
As companies replace their old PBX phone systems with Unified IP Communications, many are finding out that legacy applications such as fax do not work well with VoIP. Fortunately, Cloud Faxing provides a cost-effective alternative that works over an…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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…
Suggested Courses
Course of the Month10 days, 7 hours left to enroll

886 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