View Single Post

   
  #7 (permalink)  
Old 02-02-2008, 08:35 AM
Johnny Rebel
 
Posts: n/a
Default Re: Newbie Needs one Command

Davoud wrote:
> I need to find a Linux/Unix command that will display a list of all of
> the directories, visible and hidden, on a hard drive, and the sizes of
> those directories. I *do* *not* want to see a list of the half million
> of so files on the drive, just directories. I've asked this question on
> other Unix and Linux forums and had all sorts of good people trying to
> be helpful, but no workable answers. Is this not doable, perhaps?
>
> TIA!
>
> Davoud
>


Try the 'tree' command. -s does size, and -d does directories only.

JR.

--

Bill will have to take Linux from my cold, dead flippers.

-Tux.
Reply With Quote