Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want any alternative for Ubuntu 11.04 that runs on the command window that allows me to see which folder use up a lot of space.

P.S. It's for my VPS.

share|improve this question
    
What have you tried? Have you looked at the results of apt-cache search midnight ? –  belacqua Jul 11 '12 at 15:57
add comment

3 Answers

up vote 4 down vote accepted

In Midnight Commander go to menu Command and select Show directory sizes.

Keyboard shortcut is Ctrl+space

share|improve this answer
add comment

Try using tree

sudo apt-get install tree

Then run tree /mainfolder/folder1 -d

host@hostname:~$ tree /etc/apt -d -h   ( -d shows only directory ) 
/etc/apt
├── [4.0K]  apt.conf.d   <------ where 4k is size of directory 
├── [4.0K]  preferences.d
├── [4.0K]  sources.list.d
└── [4.0K]  trusted.gpg.d

You can further refer here at Tree manpage for preferred Usage.

share|improve this answer
add comment

There is a program called ranger that allows you to do this. Download and install ranger. sudo apt-get install ranger

Then, run ranger :set display_size_in_main_column true. That will make it display the file size in the main column whenever ranger is run. You can navigate through the columns with your arrow keys. See man ranger for more details.

You can download and install it from the site; instructions are there as well.

share|improve this answer
    
Ranger is not available for natty –  HackToHell Jul 11 '12 at 14:34
    
@HackToHell Download it from the ranger homepage. ranger.nongnu.org/download.html –  Dymatic Jul 11 '12 at 16:34
    
Ranger is nice... –  HackToHell Jul 11 '12 at 17:10
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.