Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

disk space for tmp directory on ubuntu 10.04 --help

Posted on 2011-09-04
4
Medium Priority
?
403 Views
Last Modified: 2012-06-21
hi,

how can i view disk space for /tmp directory. When I did df -h, I got the following. Does this mean, that the /tmp directory is on /dev/sda7 ?

/dev/sda7              31G   13G   18G  41% /
none                  1.9G  288K  1.9G   1% /dev
none                  1.9G  184K  1.9G   1% /dev/shm
none                  1.9G   80K  1.9G   1% /var/run
none                  1.9G     0  1.9G   0% /var/lock
none                  1.9G     0  1.9G   0% /lib/init/rw
/dev/sda3             485M   44M  416M  10% /boot
0
Comment
Question by:zizi21
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 19

Accepted Solution

by:
elimesika earned 2000 total points
ID: 36480456
yes

/tmp is under the root directory ("/")
0
 

Author Comment

by:zizi21
ID: 36480480
Does this mean that I have 18 G for /tmp ?
0
 
LVL 19

Expert Comment

by:elimesika
ID: 36480551
no , it means you have 18GB for all directories under the root directory
if course you can copy approximately 18GB to /tmp and it will take it all ....
0
 

Author Comment

by:zizi21
ID: 36480599
thanks a million..
0

Featured Post

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question