Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

filesize in linux

# for both hidden and non-hidden files in current directory
$ du -sch .[!.]* * | sort -h

# if you are using zsh
du -sch *(D) | sort -h
Source by superuser.com #
 
PREVIOUS NEXT
Tagged: #filesize #linux
ADD COMMENT
Topic
Name
6+1 =