Active Topics

 



Notices


Reply
Thread Tools
Posts: 118 | Thanked: 31 times | Joined on Feb 2010
#1
Title sums it up.
 

The Following 3 Users Say Thank You to Soulaxe For This Useful Post:
Posts: 162 | Thanked: 227 times | Joined on Nov 2010 @ Italy - Florence & Bulgaria - Sofia
#2
This is nice idea !!!
 

The Following User Says Thank You to demludi For This Useful Post:
jedi's Avatar
Posts: 1,411 | Thanked: 1,330 times | Joined on Jan 2010 @ Tatooine
#3
Code:
du -x / | sort -n
Code:
du -x /opt | sort -n
- will give a (long) list of all the directories under / and /opt respectively, sorted by size (largest last).
__________________
May the source be with you.
 

The Following 5 Users Say Thank You to jedi For This Useful Post:
jedi's Avatar
Posts: 1,411 | Thanked: 1,330 times | Joined on Jan 2010 @ Tatooine
#4
Here's another good one-liner thanks to the Ubunutu forums:
Code:
dpkg-query -W --showformat='${Installed-Size;10}\t${Package}\n' | sort -k1,1n
(that should all be on one line)

- show list of installed packages, sorted by size (largest last).
__________________
May the source be with you.
 

The Following 2 Users Say Thank You to jedi For This Useful Post:
Posts: 212 | Thanked: 189 times | Joined on Oct 2010
#5
StorageUsage
 
marxian's Avatar
Posts: 2,448 | Thanked: 9,523 times | Joined on Aug 2010 @ Wigan, UK
#6
Originally Posted by jedi View Post
Code:
du -x / | sort -n
Code:
du -x /opt | sort -n
- will give a (long) list of all the directories under / and /opt respectively, sorted by size (largest last).
Nice 'app'. Have you thought about charging for it?
__________________
'Men of high position are allowed, by a special act of grace, to accomodate their reasoning to the answer they need. Logic is only required in those of lesser rank.' - J K Galbraith

My website

GitHub
 

The Following 3 Users Say Thank You to marxian For This Useful Post:
jedi's Avatar
Posts: 1,411 | Thanked: 1,330 times | Joined on Jan 2010 @ Tatooine
#7
Originally Posted by marxian View Post
Nice 'app'. Have you thought about charging for it?
Yeah I might bundle it up with a bunch of hacks I found here and elsewhere on the net, call it "The Super Dooper Expert Guru System Enhanced Cosmic Utility Pack for N900 Smartphone" and force people to "donate". Hey I could even use my ninja coding skillz to bash out a fr'gging annoying nag screen to 'encourage' people to pay too - profit all the way! It might make a change from writing viruses...
__________________
May the source be with you.
 

The Following 3 Users Say Thank You to jedi For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 12:09.