Forrest logo
back to context overview

df

List of commands for df:

  • df:ai:16a8c Verify that the /dev/vg_prod/prod partition mounted on /opt/prod by using the df command.
    $ df /opt/prod
    try on your machine
    explain this command
  • df:ai:3f919 how can I check disk usage on / but ignore mounted filesystems?
    $ df --output=target,pcent | grep '^/$'
    try on your machine
    explain this command
  • df:ai:84ada Check if the volume is mounted with filesystem type and usage information
    $ df -hT
    try on your machine
    explain this command
  • df:ai:ce0e0 How can I get the free disk space of the current machine?
    $ df --output=avail --total --json
    try on your machine
    explain this command
  • df:ai:e841d Verify that the /dev/sdb1 partition mounted on /opt/downloads
    $ df -h /opt/downloads
    try on your machine
    explain this command
  • df:tldr:8bbaf df: Display statistics on the number of free inodes.
    $ df -i
    try on your machine
    explain this command
  • df:tldr:9f6cd df: Display the filesystem and its disk usage containing the given file or directory.
    $ df ${filename_or_directory}
    try on your machine
    explain this command
  • df:tldr:eea7f df: Display filesystems but exclude the specified types.
    $ df -x ${squashfs} -x ${tmpfs}
    try on your machine
    explain this command
  • df:tldr:eff7d df: Display all filesystems and their disk usage.
    $ df
    try on your machine
    explain this command
back to context overview