10 df commands for viewing disk space in Linux or Ubuntu
In Linux, you can use the command line tool named df to check disk space. The df command represents the disk file system. Using the df command, you can find the disk space summary information on Linux, such as available disk space and used disk space.
In this tu
Introduced:The DF command in Linux can be used to display disk usage statistics for file systems currently on Linux systems. These tools make it easy to know which file systems consume much memory. In addition, if it is picked up and provides a specific file name as a parameter of the DF command, then it displays the disk usage statistics for the file system where the file resides. System administrators can
Check disk usage in Linux. df and du are the most common ones, but sometimes the results of DU and DF are different. Sometimes there is a big gap.
1. Explanation of the two Commands
Du -- disk usage
DF -- Disk Free
2. How du and DF work
2.1 du Working Principle
The du command calls the fstat system one by one for stat
Check disk space usage in Linux. The most common ones are du and DF. However, there are still many differences between the two, and sometimes their output results are even very different.1. How to remember these two Commands
Du-diskUsage
DF-diskFree2. df and du working principle 2.1 du working principle the du command will call the fstat system one by one for sta
Common Linux commands (27th)-df
In linux, the df command is used to check the disk space usage of the file system of the linux server. You can use this command to obtain the space occupied by the hard disk and the remaining space.
1.Command Format:
Df [Option] [file]
2.Command function:
Displays the available space of the specified disk file. If no file name is
When you look at disk space usage under Linux, the most common use is Du and DF. However, there is a big difference between the two, and sometimes the output is even very large.1. How to memorize these two commandsDu-disk UsageDf-disk Free2. How df and du Works 2.1 du works the du command treats the statistics file one-by-call Fstat this system call to get the file size. Its data is based on file acquisitio
The function of the DF command in Linux is to check the disk space usage of the Linux server's file system. You can use this command to get information about how much space the hard disk is taking up, and how much space is left. 1. Command format: DF [Options] [file] 2. Command function: Displays the free space for the specified disk file. If no file name is specified, all available space for the currently
Linux Command details df check disk space usage of the file system, linuxdf
Command: dfCheck disk space usage of the file system
You can view the total capacity, usage, remaining space, and mount location of all mounted disks.
Syntax: # df [OPTION] [FILE]
FILE is an optional list of one or more path names. If this option is selected, the disk usage of the FILE system where the FILE is located is displayed
In linux, the du and df commands also asked me about the command for viewing the directory size in Linux. now I have learned the commands du/df a while ago. A while ago, during the sub-test, the program could not be executed due to the full disk space. Therefore, the df and du commands were used .... In linux, the du and df
The function of the DF command in Linux is to check the disk space usage of the Linux server file system, which can be used to get the amount of space the hard disk occupies and how much space is left.DF View storage Device mount informationCommand parameters:Necessary parameters:-A All File system list-h easy to read mode display-H equals "-H", but the formula, 1k=1000, rather than 1k=1024-I display inode information-K block is 1024 bytes-L show loca
In linux, the df command is used to check the disk space usage of the file system of the linux server. You can use this command to obtain the disk space occupied and the remaining space.
1. command format:
Df [option] [file]
2. command functions:
Displays the available space of the specified disk file. If no file name is specified, the available space of all mounted file systems will be displayed. By defaul
The function of the DF command in Linux is to check the disk space usage of the Linux server's file system. You can use this command to get information about how much space the hard disk is taking up, and how much space is left.1. Command format :DF [Options] [file]2. Command function :Displays the free space for the specified disk file. If no file name is specified, all available space for the currently mo
1. Command format:
DF [Options] [file]
2. Command function:
Displays the available space for the specified disk file. If no file name is specified, the free space for all currently mounted file systems will be displayed. By default, disk space is displayed in 1KB, unless the environment variable posixly_correct is specified, which is displayed in 512-byte units3. Command parameters:
Necessary parameters:-A All File system list-h easy to read mode
The DF command is the overall disk usage that lists the file system
How to use commandDF [-ahikhtm] [directory or filename] parameter:-A lists all file systems--------Displays file systems in KB capacity-M with MB capacity
-h Displays (important) in a format that is more readable in GB, MB, KB, etc.
-H conversion to m=1000k instead of m=1024k-T and the document system name of the partition (such as EXT3) also lists the number of inode for-I, not the
In linux, the du and df commands also asked me about the command for viewing the directory size in Linux. Now I have learned the commands du/df a while ago. A while ago, some sub-Tests encountered that the program could not be executed due to the full disk space. Therefore, df and du commands were used. View the directory size at www.2cto.com du, and view the dis
The function of the DF command in Linux is to check the disk space usage of the Linux server's file system. You can use this command to get information about how much space the hard disk is taking up, and how much space is left.1. Command format:DF [Options] [file]2. Command function:Displays the free space for the specified disk file. If no file name is specified, all available space for the currently mounted file system will be displayed. By default
The df command parameter function in Linux: Check the file system for disk space consumption. You can use this command to get how much space the hard disk is occupied and how much space is left.
Syntax: DF [Options]
Description: The DF command in Linux shows the use of the I node and disk block by all file systems.
The various options for this command have the
In this article we'll look at the parameters of the DF command in Linux: Check the file system for disk space usage. You can use this command to get how much space the hard disk is occupied and how much space is left.
Syntax: DF [Options]
Description: The DF command in Linux shows the use of the I node and disk block by all file systems.
The various options fo
1. How to remember these two commands
du-DISK USage
df-DISK FRee
2. The working principle of DF and Du
The working principle of 2.1 du
The du command treats the statistic file individually by calling Fstat this system call to get the file size. Its data is based on file acquisition, so there is a lot of flexibility, not necessarily for a partition, you can cross multiple partitions. If there are a lot of fi
The DF command for LinuxThe function of the DF command in Linux is to check the disk space usage of the Linux server's file system. You can use this command to get information about how much space the hard disk is taking up, and how much space is left.1. Command format:DF [Options] [file]2. Command function:Displays the free space for the specified disk file. If no file name is specified, all available spac
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.