LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-12-2017, 02:18 AM   #16
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 2,150

Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449

cd /usr

du -sh * > /home/usrfilesize.log

-s display summary of each file
-h human readable

or check out this bash script to get folder size: http://quickbytesstuff.blogspot.sg/2...lder-size.html

Last edited by JJJCR; 06-12-2017 at 03:19 AM. Reason: edit
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need larger tmp space - error writing temporary file: No space left on device deepGC Linux - Newbie 6 06-06-2015 05:55 AM
LXer: Linux: No space left on device while df command shows lot of free space LXer Syndicated Linux News 0 08-26-2013 02:50 PM
No space left on device jarubyh Gentoo 3 01-11-2012 11:15 AM
no space left on device cjupiter2 Red Hat 2 09-03-2007 07:55 PM
No space left on device even though it has free space? enine Linux - General 8 05-30-2007 04:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration