LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-18-2003, 01:11 PM   #1
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
Calculate the space of a folder


Is there a simple commmand to calculate the space taked by a folder?

something like df but usable to calculate the space used by a folder?
I really hate to open X to calculate it and loop are really annoyng to type.
 
Old 05-18-2003, 01:13 PM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
du -csh folder_name
 
Old 05-18-2003, 01:14 PM   #3
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Original Poster
Rep: Reputation: 46
wow
pretty quick answer, I posted only 2 min ago
this is exactly what I need thank you
 
Old 05-18-2003, 05:04 PM   #4
N_A_J_M
Member
 
Registered: Aug 2002
Location: Whangarei New Zealand
Distribution: Slack 8.1
Posts: 300

Rep: Reputation: 30
what do the options csh do?
cheers
 
Old 05-18-2003, 07:53 PM   #5
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
check out the manpage for du, all the options and a description will be there
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting Folder to FTP Space nigma Linux - General 4 05-01-2005 03:03 PM
How does one calculate folder sizes in linux GryphonTech Linux - Newbie 2 10-23-2004 03:50 PM
Linux will not calculate my free space correctly on fat32 drive The_Last_Nerd Linux - Hardware 12 06-23-2004 03:42 PM
accessing folder with 'space' in the name kushalkoolwal Linux - Newbie 2 03-11-2004 02:43 AM
usage of disk space in a folder... Claus Linux - Software 4 09-10-2003 10:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:12 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