Need help with Linux Equivalent of a DOS command

From: Lester (dominoinsight_at_tiscali.co.uk.remove.this)
Date: 09/11/04


Date: Sat, 11 Sep 2004 22:06:22 +0100

The DOS command is "Dir *." which would just list directories.

I'm logged on as root and in the /etc directory
ls -d looks like it ought to show me all the directories in /etc
directory but just shows me the "." directory

I'm new to Linux so just trying to find my way around the file system.
I've looked at "man ls" but aside from "-d" I don't see any other
obvious options.

Feel free to email or post.

Thanks in advance

Lester



Relevant Pages

  • Re: [SLE] re: i dont understand it
    ... >> He ought to be able to configure and make as a user, ... >> be root to do the 'make install' bit. ... with the tar file and the errors. ...
    (SuSE)
  • Re: Removing a "busy" text file?
    ... On Sunday 30 January 2005 12:44 pm, Gunnar Kramm flailed at a keyboard and ... > Try (as root) ... > That ought to tell you what PID has the file open ... "You can't depend on your judgment when your imagination is out of focus." ...
    (Fedora)
  • Re: [OT] Storing raw / storage / editing
    ... if you know enough to know that you ought to know enough to fix it. ... install is set the root password. ... Strange hardware? ... but then the rest of Ubuntu rejects logins of root. ...
    (rec.photo.digital.slr-systems)
  • Re: print properties in openoffice
    ... What about if you aren't root on the machine? ... ought to work. ... Tim. ... To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list ...
    (Fedora)