Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

du linux

du # Calculates byte size of whole current directory including subdirs
du * # Calculates byte size of files individually
du -ah # shows calculations of files and subfiles recursively
# -m -> shows byte size in megabytes
# -g -> shows byte size in gigabytes
# -h -> shows human readable notation
 
PREVIOUS NEXT
Tagged: #du #linux
ADD COMMENT
Topic
Name
7+6 =