What does df command do in Linux?

Use the df command to display information about total space and available space on a file system. The FileSystem parameter specifies the name of the device on which the file system resides, the directory on which the file system is mounted, or the relative path name of a file system.

What is the use of df command in Linux?

df command in Linux with Examples. The df command (short for disk free), is used to display information related to file systems about total space and available space. If no file name is given, it displays the space available on all currently mounted file systems.

What does df H mean in Linux?

However, Linux has a strong built-in utility called ‘df’. … Using ‘ -h ‘ parameter with (df -h) will show the file system disk space statistics in “human-readable” format, means it gives the details in bytes, megabytes, and gigabyte.

What is the output of df in Linux?

Use the df command to show the amount of free disk space on each mounted disk. The usable disk space that is reported by df reflects only 90 percent of full capacity, as the reporting statistics leave 10 percent above the total available space. This head room normally stays empty for better performance.

See also  How do I run DISM tool on Windows 7?

What is df showing?

df shows the amount of free space left on a disk device, and the total amount available on the device (free+used). It measures space in units of 512-byte disk sectors.

Why is df used?

df (abbreviation for disk free) is a standard Unix command used to display the amount of available disk space for file systems on which the invoking user has appropriate read access. df is typically implemented using the statfs or statvfs system calls.

How do you read df output?

To view disk space usage run the df command. This will print a table of information to standard output. This can be useful to discover the amount of free space available on a system or filesystems. Use% – the percentage that the filesystem is in use.

How do I check memory on Linux?


  1. Open the command line.
  2. Type the following command: grep MemTotal /proc/meminfo.
  3. You should see something similar to the following as output: MemTotal: 4194304 kB.
  4. This is your total available memory.

How do I see disk space in Linux?

Linux check disk space with df command

  1. Open the terminal and type the following command to check disk space.
  2. The basic syntax for df is: df [options] [devices] Type:
  3. df.
  4. df -H.

What is used in df command?

Linux df command is used to display the disk space used in the file system. The ‘df’ stands for “disk filesystem.” It defines the number of blocks used, the number of blocks available, and the directory where the file system is mounted.

See also  Your question: How do I know if JRE is installed on Linux?

How do I mount a Linux command?

Mounting ISO Files

  1. Start by creating the mount point, it can be any location you want: sudo mkdir /media/iso.
  2. Mount the ISO file to the mount point by typing the following command: sudo mount /path/to/image.iso /media/iso -o loop. Don’t forget to replace /path/to/image. iso with the path to your ISO file.
Like this post? Please share to your friends:
OS Today