通过Linux Foundation 和 edX 免费提供的 “Linux 简介” 课程,了解更多有关 Linux 的信息。 via: https://www.linux.com/learn/intro-to-linux/2018/6how-check-disk-space-linux-command-line 作者:Jack Wallen 选题:lujun9972 译者:SunWave 校对:wxy 本文由 LCTT 原创编译,Linux中国 荣誉推出...
To liberate disk space in Linux, begin by pinpointing the files or directories consuming the most storage. The du command can help you evaluate the space usage of particular directories. Once you have identified the directories or files that use a lot of disk space, you can delete, move, or...
12 Useful “df” Commands to Check Disk Space 10 Useful “du” Commands to Find Disk Usage of Files and Directories Memory and CPU Utilization The classic tool in Linux that is used to perform an overall check of CPU / memory utilization and process management istop command. In addition, to...
The du or disk usage command shows the estimated disk space of the system. This command can check and identify large directories and files. First, please run the following command to display the help option: du--help Similar to the df command, you can also use the -h (human-readable for...
You can also use the df command to check the disk space of a specific drive. To do this, simply specify the path to the drive as an argument to the df command. For example, to check the disk space of the /home directory, you would use the following command: ...
Ncdu just checks the space used by a directory and drills down. On the other hand the df command reports space used by different storage devices. The du command is more of raw in nature and reports space used by individual files and recursively into sub directories. Due to this the out...
Disk Space Check in Linux: 5 Methods Performing disk space checks in Linux ensures enough storage is available for system operations and application usage. The following text presents common ways to check disk space in Linux. Method 1: Check Disk Space via df Command ...
7. Using the Glances Command This is a cross-platform system monitoring tool that displays information about running processes, cpu load, storage space usage, memory usage, swap space usage, and many more. # glances Glances Check Swap Usage ...
/bin/shif["$USER"!="root"];thenSUDO="sudo "fi$SUDOtpm2_readpublic -Q -c 0x81010001 -o ek.pub 2> /dev/nullif[ $? -gt 0 ];then# Create the endorsement key (EK)$SUDOtpm2_createek -c 0x81010001 -G rsa -u ek.pub# Create the storage root key (SRK)$SUDOtpm2_createprimary ...
A Step-by-Step Guide on How to Use the df Command to Check Disk SpaceHere's a step-by-step guide on how to use the df command to check disk space −Open a terminal window − The first step is to open a terminal window on your Linux system....