Techno Blender
Digitally Yours.

How To Find Large Files on Linux

0 64


We’ve all got to that point on a given system where we start to run out of storage space. Do we buy more storage, perhaps one of the best SSDs, or do we search and find the largest files quickly? In this how to we will look at a few simple approaches to help us maintain and manage our filesystems.

All the commands in this article will work on most Linux machines. We’ve used a Ubuntu 20.04 install but you could run this how-to on a Raspberry Pi. All of the how-to is performed via the Terminal. If you’re not already at the command line, you can open a terminal window on most Linux machines by pressing ctrl, alt and t.

Listing Files In Size Order Using the ls Command in Linux

(Image credit: Tom’s Hardware)

The ls command is used to list the contents of a directory in Linux. By adding the -lS argument we can  order the returned results according to the file size. We have copied a collection of files into a test directory to show this command but it can be run in any directory you choose.


We’ve all got to that point on a given system where we start to run out of storage space. Do we buy more storage, perhaps one of the best SSDs, or do we search and find the largest files quickly? In this how to we will look at a few simple approaches to help us maintain and manage our filesystems.

All the commands in this article will work on most Linux machines. We’ve used a Ubuntu 20.04 install but you could run this how-to on a Raspberry Pi. All of the how-to is performed via the Terminal. If you’re not already at the command line, you can open a terminal window on most Linux machines by pressing ctrl, alt and t.

Listing Files In Size Order Using the ls Command in Linux

(Image credit: Tom’s Hardware)

The ls command is used to list the contents of a directory in Linux. By adding the -lS argument we can  order the returned results according to the file size. We have copied a collection of files into a test directory to show this command but it can be run in any directory you choose.

FOLLOW US ON GOOGLE NEWS

Read original article here

Denial of responsibility! Techno Blender is an automatic aggregator of the all world’s media. In each content, the hyperlink to the primary source is specified. All trademarks belong to their rightful owners, all materials to their authors. If you are the owner of the content and do not want us to publish your materials, please contact us by email – [email protected]. The content will be deleted within 24 hours.

Leave a comment