Avatar of Manfredtoo
ManfredtooFlag for Singapore

asked on 

Re:List all folders to see which folder is taking most space in details in Unix Environment

HI pros
i need some help in UNIX. i am new with it. Is it possible to list all folders to see which folder is taking most space in details in a volume drive? what would be the command? thanks alot guys really apprepicate that....

cheers

Unix OS

Avatar of undefined
Last Comment
Manfredtoo
SOLUTION
Avatar of ozo
ozo
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of Manfredtoo
Manfredtoo
Flag of Singapore image

ASKER

ozo: hello, using df command to show list of folders taking most spaces in a drive.... keke
Avatar of ozo
ozo
Flag of United States of America image

df shows the total of all folders in a drive
Avatar of Manfredtoo
Manfredtoo
Flag of Singapore image

ASKER

ozo: is there a command that will list all the folders and shows the folder sizes used in details?
Avatar of Manfredtoo
Manfredtoo
Flag of Singapore image

ASKER

ozo: keke didnt realise u already mentioned "du" as the answer. i though was duh~... haha ok.. i got the latest command du -k that shows all the folders but is it possible to sort the largest folder on the top of the list or something like display folder more than 500mb??? based on the command???
ASKER CERTIFIED SOLUTION
Avatar of ozo
ozo
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
Avatar of Manfredtoo
Manfredtoo
Flag of Singapore image

ASKER

ozo: thanks alot manz u have been a great help to me =)
Avatar of Manfredtoo
Manfredtoo
Flag of Singapore image

ASKER

ozo: just to ask for supplements is it possible if i want to see only those folders contain 500mb of size?
Unix OS
Unix OS

Unix is a multitasking, multi-user computer operating system originally developed in 1969 at Bell Labs. Today, it is a modern OS with many commercial flavors and licensees, including FreeBSD, Hewlett-Packard’s UX, IBM AIX and Apple Mac OS-X. Apart from its command-line interface, most UNIX variations support the standardized X Window System for GUIs, with the exception of the Mac OS, which uses a proprietary system.

33K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo