$
Linux Practice
Practice
Tutorials
English
한국어
日本語
中文
terminal
Welcome to Linux Practice Terminal!
Type "help" to see available commands.
user
@linux:
~
$
du & df (Disk Usage)
Reset Lesson
Check file sizes and disk space with du and df.
Step 1
Check the size of the documents directory.
Type: du documents
du documents
Step 2
Use -h flag for human-readable sizes.
Step 3
Check the total size of the current directory.
Step 4
Check overall disk space usage with df.