Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

ls sort size descend

[root@linuxshelltips:~]# ls -lhS

total 52M
-rw-r--r--.  1 root root  37M Sep  3  2018 rh6_CloudBerryBackup.rpm
-rw-r--r--.  1 root root  14M Feb 17  2019 ImageMagick.tar.gz
-rw-r--r--.  1 root root 1.8M Oct  4  2019 fwbackups-1.43.7.tar.bz2
-rw-r--r--   1 root root  98K Jul 23 17:31 highlight.min.js
Source by www.linuxshelltips.com #
 
PREVIOUS NEXT
Tagged: #ls #sort #size #descend
ADD COMMENT
Topic
Name
9+4 =