Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-15-2003, 12:35 PM
|
#1
|
Member
Registered: Aug 2003
Distribution: Linux AS & RH 9
Posts: 255
Rep:
|
How to check space
I have to check the total available space in the tmp folder so how to check it. I am able to check the space on hd in different mount points with df command but how to check the size of used and available in a folder.
|
|
|
09-15-2003, 12:37 PM
|
#2
|
Member
Registered: Aug 2003
Distribution: Linux AS & RH 9
Posts: 255
Original Poster
Rep:
|
Sorry with ls -l it is available but how to get the column headings in the ls command as it is hard to know the values without headings. With me ls -l genereated data is without field/column names.
|
|
|
09-15-2003, 12:38 PM
|
#3
|
Senior Member
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251
Rep:
|
have you tried 'df' if executed it will list available space per partition (provided /tmp is placed in its own partition)
|
|
|
09-15-2003, 02:56 PM
|
#4
|
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
|
du -h /tmp
|
|
|
09-15-2003, 02:58 PM
|
#5
|
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
|
du -k /tmp
if you want to know in kilobytes...
man du
if you want to know more about du...
|
|
|
09-15-2003, 11:21 PM
|
#6
|
Member
Registered: Aug 2003
Distribution: Linux AS & RH 9
Posts: 255
Original Poster
Rep:
|
du is abbriviation of? It is very hard to remind without knowing the exact name of the command.
|
|
|
09-15-2003, 11:30 PM
|
#7
|
LQ Addict
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661
Rep:
|
maybe Directory Usage? df as in DiskFree... it's just a guess.
|
|
|
09-16-2003, 12:04 AM
|
#8
|
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
|
i think it means "disk space used"... but i'm not really sure... it's not "directory usage" because it doesn't just work for directories, it works on files too...
http://www.die.net/doc/linux/man/man1/du.1.html
|
|
|
09-16-2003, 05:36 AM
|
#9
|
Member
Registered: Aug 2003
Location: New Delhi, India
Distribution: RH 9, RH 8, RH 7.3,Slackware
Posts: 123
Rep:
|
yes , it is disk space used...
|
|
|
09-16-2003, 10:39 AM
|
#10
|
Member
Registered: Aug 2003
Distribution: Linux AS & RH 9
Posts: 255
Original Poster
Rep:
|
Its my suggestion that this detail should be in the man text. When you will get the exact word as du = disk used, df = disk free, ls = ? etc.
Your comments.
|
|
|
09-16-2003, 10:53 AM
|
#11
|
Member
Registered: Sep 2003
Location: Denmark
Distribution: FreeBSD
Posts: 110
Rep:
|
hehe, you can use some of the commands, people have writting, in this Thread - or you can install, phpmyadmin - find it here : http://phpsysinfo.sourceforge.net/ - and it will show a site like this : http://phpmyadmin.wizac.net 
But I'm sure that you know this, and if you know, then sorry for spam =)
|
|
|
09-16-2003, 10:54 AM
|
#12
|
Member
Registered: Sep 2003
Location: Denmark
Distribution: FreeBSD
Posts: 110
Rep:
|
doh, I am sleeping not phpmyadmin.wizac.net, but http://phpsysinfo.wizac.net - doh sry
|
|
|
09-16-2003, 10:58 AM
|
#13
|
Member
Registered: Aug 2003
Distribution: Linux AS & RH 9
Posts: 255
Original Poster
Rep:
|
Thanks for you input. I suggested to help those who wants to migrate to Linux and think this is very difficult. So these things will make life easy for those. In the start I thought that Linux is very difficult and friends also told me the same. But really I found it to be very easy...............For those who don't know about Linux and want to learn then just spend atleast one week and you will say Linux is very easy.
|
|
|
All times are GMT -5. The time now is 05:33 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|