Quantcast
Channel: days – Securitron Linux blog.
Viewing all articles
Browse latest Browse all 4

More very useful Linux tricks and tips.

$
0
0
If you wish to find files larger than a certain size on a Linux hard disk, this is a very useful tip. This uses backticks to feed the output of the find command as a parameter to ls. This allows listing the few largest files in a directory. ┌──[jason@192.168.1.3]─[/media/jason/More Media] └──╼ ╼ $ ls -hula `find . -maxdepth 1 -type f -size +500M` -rwxrwxrwx 2 jason jason 6.3G Oct 3 13:58 ./Arma3_x64_2021_09_16_16_30_19_998.avi -rwxrwxrwx 2 jason jason 1.1G Oct 3 13:58 ./Arma3_x64_2021_09_16_17_28_57_815.avi -rwxrwxrwx 2 jason jason 751M Oct 3 13:58 ./Arma3_x64_2021_09_21_13_11_24_868.avi -rwxrwxrwx 2 jason jason 506M Oct 3 13:58 ./Arma3_x64_2021_09_23_13_01_46_919.avi -rwxrwxrwx 2 …

Viewing all articles
Browse latest Browse all 4

Latest Images

Trending Articles





Latest Images