Galaxie Shell 0.2.6 documentation


Navigation:   | Index   | Search   | Top   | Up   | Prev   | Next   |
Table of Content: |du |

© Copyright 2020-2024, Galaxie Shell Team.

Top » Manuals Pages » du

duΒΆ

NAME
  du - estimate file space usage

SYNOPSIS
  du [-a|-s] [-kx] [-H|-L] [file...]

DESCRIPTION
  The du utility shall write to standard output the size of the file space
  allocated to, and the size of the file space allocated to each subdirectory of,
  the file hierarchy rooted in each of the specified files.

OPERANDS
  file  The pathname of a file whose size is to be written. If no file is
        specified, the current directory shall be used.

OPTIONS
  -a  In addition to the default output, report the size of each file not of
      type directory in the file hierarchy rooted in the specified file. The -a
      option shall not affect whether non-directories given as file operands
      are listed.
  -H  If a symbolic link is specified on the command line, du shall count the
      size of the file or file hierarchy referenced by the link.
  -k  Write the files sizes in units of 1024 bytes, rather than the default
      512-byte units.
  -L  If a symbolic link is specified on the command line or encountered during
      the traversal of a file hierarchy, du shall count the size of the file or
      file hierarchy referenced by the link.
  -s  Instead of the default output, report only the total sum for each of the
      specified files.
  -x  When evaluating file sizes, evaluate only those files that have the same
      device as the file specified by the file operand.

EXIT STATUS
  0   Successful completion.
  >0  An error occurred.

Top » Manuals Pages » du

© Copyright 2020-2024, Galaxie Shell Team.
This page is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International Public License (CC BY-NC-SA 4.0).
Examples, recipes, and other code in the documentation are additionally licensed under the Zero Clause BSD License.
See History and License for more information.

Last updated on None.
Created using Sphinx 8.0.2.