-
1st August 2007, 04:21 PM
#1
how to check a folder size in terminal?
hi,
when i want to check a folder size in i the terminal with du, it first list all the files sizes within the folder, then in the last the folder size itself, is there any other command to just display the folder size not the files sizes?
-
1st August 2007, 04:46 PM
#2
You can use
du -s <folder-name>
du -sh <folder-name> will give you the same output in higher units
-
1st August 2007, 04:47 PM
#3
cd /folder
du -hs
du -hs /folder
-
1st August 2007, 05:29 PM
#4
du -sh /tmp/
Make sure you leave the trailing slash, otherwise it will give you all the contents.
Similar Threads
-
By Tekno_Cowboy in forum Using Fedora
Replies: 0
Last Post: 14th December 2008, 03:12 PM
-
By pingu64x in forum Guides & Solutions (Not For Questions)
Replies: 2
Last Post: 18th December 2006, 06:47 AM
-
By thick0 in forum Using Fedora
Replies: 3
Last Post: 7th January 2006, 12:50 PM
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
[[template footer(Guest)]]