ls and vdir

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
User avatar
Level 4
Level 4
Posts: 299
Joined: Sun May 23, 2010 9:06 pm

ls and vdir

Post by COKEDUDE »

I'm curious if the man pages on ls and vdir are complete. They both look the same. I used the diff command to compare the man pages and they were the same. I know they should be different since the actions are different.
Also the "ls -ld" command is not working the way I expect it to work. I would expect it to list all the information of the subdirectories, but it only gives the current directory information. So I added the recursive option and that isn't changing my output at all. Can anyone explain its not showing all subdirectories?

Code: Select all

ls -ld
drwx------ 49 bob bob 12288 2010-05-30 21:54 
ls -ldR
drwx------ 49 bob bob 12288 2010-05-30 21:54 
Level 5
Level 5
Posts: 512
Joined: Sat Apr 17, 2010 1:58 am
Location: Where my hat is

Re: ls and vdir

Post by Biker »

ls -d */

And for hidden directories:

ls -d .*/
Linux User #384279
Post Reply

Return to “Software & Applications”