D
D
Drum Kit2015-09-29 15:48:46
linux
Drum Kit, 2015-09-29 15:48:46

How to set folder size in linux (cent os, debian ,ubuntu )?

is there a program for this?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
R
Ruslan Fedoseev, 2015-09-29
@martin74ua

height and width? ;)
the size of the occupied space by the directory -
du -h dir
df -h dir
to limit - in general, nothing, you can get out - either mount a file system of the required size there, or allow writing to one user and set a quota on the partition for this user.

O
Oioraen, 2015-09-30
@Oioraen

To determine the size of the folder, call your mother.
To see the size of a directory
du -skh /path/to/directory

A
Alexander Karabanov, 2015-09-29
@karabanov

ncdu
dh -h

A
Anton_Shevtsov, 2015-10-01
@Anton_Shevtsov

Set a quota?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question