utility

du

GNU du -b reports apparent bytes, not allocated disk blocks; this example reads only an authored file.

Formal Syntax & Structure

bash syntaxbash
du -b -- FILE

Parameters & Attributes

NameTypeDescription
FILEpathPractice file

Return Value

exit status

GNU du -b reports apparent bytes, not allocated disk blocks; this example reads only an authored file.

Working Example

Example Snippetbash
printf 'abc' > sample.txtdu -b -- sample.txt
Bash Reference