Co robi DU użycie. Konsola default is the current directory uruchomić.

Czy przydatne?

Polecenie du

Wykonanie, użycie: Print disk usage (as the number of 1 KB blocks used by each named directory and its subdirectories; default is the current directory)

Opcje wykonania du w konsoli

-a, --all

Print disk usage for all files, not just subdirectories.

-b, --bytes

Print sizes in bytes.

-c, --total

In addition to normal output, print grand total of all arguments.

-D, --dereference-args

Follow symbolic links, but only if they are command-line arguments.

-h, --human-readable

Print sizes in human-readable format.

-H, --si

Like -h, but show as power of 1000 rather than 1024.

-k, --kilobytes

Print sizes in kilobytes (this is the default).

-l, --count-links

Count the size of all files, whether or not they have already appeared (i.e., via a hard link).

-L, --dereference

Follow symbolic links.

--exclude=pattern

Exclude files that match pattern.

--max-depth=num

Report sizes for directories only down to num levels below the starting point (which is level 0).

-m, --megabytes

Print sizes in megabytes.

-s, --summarize

Print only the grand total for each named directory.

-S, --separate-dirs

Do not include the sizes of subdirectories when totaling the size of parent directories.

-x, --one-file-system

Display usage of files in current filesystem only.

-X, --exclude-from=file

Exclude files that match any pattern in file.

--help

Print help message and then exit.

--version

Print the version and then exit.

Przykłady du działanie w Słownik polecenie D

Przykład DU użycie :
Jak użyć administration command. Display the system control messages from the kernel ring buffer. This buffer stores all messages since the last system boot, or the most recent ones if the buffer has been co znaczy.
Przykład DU użycie :
Jak użyć administration command. Sign a secure DNS zonefile with the signatures in the specified list of key-identifiers . If signed keysets associated with the zone are found in the current directory krzyżówka.
Przykład DU użycie :
Jak użyć specified command with the specified options and arguments. Differs from the normal exec command in that argv [0] may be completely arbitrary, and in that it passes all options to the executable co to jest.
Przykład DU użycie :
Jak użyć administration command. Provide direct access to data structure of an ext2 or ext3 filesystem in order to debug problems with the device. device is the special file corresponding to the device słownik.
Przykład DU użycie :
Jak użyć Set or display name of current NIS domain. With no argument, domainname displays the name of the current NIS domain. Only a privileged user can set the domain name by giving an argument; this is czym jest.