Wednesday, August 17, 2022

biggest file in linux command

here are a few Linux console commands (bash commands) to help you to find some biggest files:

use the "find"

find . -type f -size +50M

find – is the command obviously ðŸ™‚
. – where to start the search
-type – a type of what to check
-size – Select files with a size below or an equal size



use the "du" and "sort"

du -h --max-depth=1 | sort -hr



links:
https://www.devopsroles.com/find-large-files-linux/
https://www.tomshardware.com/how-to/find-large-files-linux
https://www.cyberciti.biz/faq/linux-find-largest-file-in-directory-recursively-using-find-du/

No comments:

Post a Comment

Add disk image to Windows OS on Proxmox

  1) Enter into the Proxmox console 2) Select the VM -> Hardware -> Add -> Hard Disk: 3) Configure the new disk image: 1. Select th...