Home » Infrastructure » Linux » Available space on directory. (RHEL4)
Available space on directory. [message #351819] Fri, 03 October 2008 05:57 Go to next message
Messages: 102
Registered: May 2008
Location: Douala
Senior Member

1-I would like to know what command gives the amount of space available on a directory on Linux(say the /tmp directory). I tried(as the root user)
df -k /tmp
but the result was rather the amount of space available on the entire filesystem which the tmp directory resides on.

2-Besides, is it possible, when creating a directory, to indicate the size we want that directory to have by default on creation?

3-Is it possible (using a command for example) to "add" some space to a directory by a way other than deleting unnecessary files?

Thanks in advance.

[Updated on: Fri, 03 October 2008 06:05]

Report message to a moderator

Re: Available space on directory. [message #351822 is a reply to message #351819] Fri, 03 October 2008 06:30 Go to previous message
Messages: 21678
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Although you might get the answer here, please, keep in mind that this is Oracle FAQ forum, not Linux one. Therefore, perhaps you should ask such a question elsewhere, as stated in the OraFAQ Forum Guide:
please ask any non-Oracle questions elsewhere. It will be to your advantage.
Previous Topic: Inserting special characters into table
Next Topic: My linux server is slow
Goto Forum:

Current Time: Sun Jun 20 00:55:08 CDT 2021