Nettet24. jul. 2014 · Here we’ll focus on doing it right, and doing it simple, by using three commonly available command line tools: df, du, and ncdu. df – displays the disk usage of whole file systems. du – displays the disk space usage of files in a given path, or the whole system. ncdu – an ncurses tool for displaying and analysing file and directory sizes. Nettet26. aug. 2024 · Checking disk space status in Linux. There are two commands available for finding available and used disk space in a Linux server, which are namely the df and du commands. 1. Using the df command. The df command can be used to view the available disk space for each drive on the Linux system. By default, the df output …
apt - Which installed software packages use the most disk space …
NettetLinux check disk space with the du command. The du command is very useful to track down disk space hogs. It is useful to find out the names of directories and files that consume large amounts of space on a disk. The basic syntax is: du du /path/do/dir du [options] [directories and/or files] To see the names and space consumption of each…. NettetLinux check disk space with the du command. The du command is very useful to track down disk space hogs. It is useful to find out the names of directories and files that … gbn owners
Checking Disk Space in Linux Using Command-Line
Nettet27. jun. 2012 · Try du -sh Nettet21. des. 2024 · There are primarily two commands that can be used: df – This reports the amount of disk space on a system du – This shows the amount of space used by specific files Each of the above are for different checks and can be combined if required. Below are some examples to illustrate their use. Using the df command Open the Terminal and … Nettet3. sep. 2016 · Use the following command, it will display quickly the top 10 directories according to the size occupied in the system: du -hsx /* sort -rh head -10 Output e.g. [root@x ~]# du -hxs /* sort -rh head -10 10G /mnt 5.4G /usr 1.5G /var 418M /lib 274M /opt 224M /root 55M /boot 36M /home 30M /lib64 16M /sbin Share Improve this answer days inn sacramento downtown reviews