Hongmu Notes
Home Summary of pitfalls Linux: Query large files on a server
Summary of pitfalls

Linux: Query large files on a server

Linux: Query large files on a server

You can use it. find Use the following command to search for large files in the Linux file system. Enter the following command into your terminal to find all files larger than 100 MB:

find / -type f -size +100M -exec ls -lh {} \;

among, / The root directory to search in. -type f Specifies that only file types (excluding directories) should be queried. -size +100M The file size must be greater than 100 MB.-exec ls -lh {} \; This command lists all files that meet the specified criteria and displays their detailed information. If you wish to save the query results to a file, you can modify the above command as follows:

find / -type f -size +100M -exec ls -lh {} \; > large_files.txt

among, large_files.txt The filename for saving query results.

微信赞赏

WeChat

支付宝赞赏

Alipay

✍️ Author: Hong Mu

webmaster · Thanks for reading, stay tuned for more exciting content

Author homepage View home page →

Related articles

Browser caching increases the speed of secondary visits to your website

Browser caching increases the speed of secondary visits to your website Summary of pitfalls

Use browser caching of official words: If users will visit your website multiple times, browser caching of static resources can save users time. Cache headers should be applied to all cacheable static resources, not just to a small subset of static resources (for example, images). Cacheable resources include JS and CSS files, image files, and other binary object files (media files, PDF files, etc.). Normally, HTML doesn’t…
👁 202

Recommended reading

(Adaptive Mobile Version) Art Training Institution Website Template – Download Studio/Art Gallery Website Source Code – 1110

(Adaptive Mobile Version) Art Training Institution Website Template – Download Studio/Art Gallery Website Source Code – 1110 Practical Collection pbootcms Template

A PbootCMS website template designed for art training institutions and art studios/galleries, supporting both PC and WAP devices. Its artistic and professional design makes it ideal for art training centers and studios showcasing their courses and works. This template helps art education institutions attract students online and enhance their brand image. Template Preview | Installation Instructions | Website Backend: /admin.php | Username: admin | Password: admin | Extraction Password: www.4s5.cn | Related Articles...
👁 52
Plastic running track & plastic flooring website template – 0687

Plastic running track & plastic flooring website template – 0687 Practical Collection Yiyou template

This EyouCMS template is ideal for the synthetic running track and synthetic flooring industries. Its fresh, sporty design is perfect for showcasing running track and flooring products, construction case studies, and technical solutions. It helps sports facility construction companies demonstrate their engineering expertise online and attract clients such as schools and sports venues. Template Display | Installation Instructions | Website Backend: /login.php | Username: admin | Password: admin | Related Articles: Common Questions Regarding EyouCMS Installation...
👁 51
Locomotive collector inserts automatically matching Baidu drop-down H tags into collected articles

Locomotive collector inserts automatically matching Baidu drop-down H tags into collected articles Practical Collection High-speed rail collection

Just look at the title and you’ll know what’s going on! Brothers who make large-volume garbage stations, look over here! You can customize how many words in the article to insert a drop-down H tag matching the title! It has a very good effect on the optimization of single page of the website! Traffic sites or large article sites can also be used! The most suitable one to use is the garbage station. The optimization effect of a single page is great! Before processing: After processing:
👁 165
(Adaptive mobile version) Red Internet Technology News Website – PBootCMS Template; Responsive Article/Blog Website Source Code Download – 0385

(Adaptive mobile version) Red Internet Technology News Website – PBootCMS Template; Responsive Article/Blog Website Source Code Download – 0385 Practical Collection pbootcms Template

This is an adaptive, mobile-friendly red-themed Internet technology news PbootCMS responsive blog website template. The design features an energetic information flow style, making it ideal for technology blogs and IT news websites aimed at sharing industry updates. It helps technology media outlets attract online readers and build their influence. Template Preview | Installation Instructions | Website Backend: /admin.php | Username: admin | Password: admin | Extraction Password: www.4s5.cn | Related Articles...
👁 43
(PC + WAP) Fire Safety Training School Website Template – Download Training Institution Website Source Code – 1111

(PC + WAP) Fire Safety Training School Website Template – Download Training Institution Website Source Code – 1111 Practical Collection pbootcms Template

A PbootCMS website template designed for fire safety training schools and training institutions, compatible with both PC and WAP devices. Its professional and eye-catching design makes it ideal for showcasing courses, faculty members, and training outcomes. This template helps fire safety training organizations attract learners online and enhance their brand awareness. Template Display | Installation Instructions | Website Backend: /admin.php | Username: admin | Password: admin | Extraction Password: www.4s5.cn...
👁 51