• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

findmnt: command not found

by Deepika

findmnt is a command-line tool used to display information about mounted file systems on a Linux or Unix-based system. It is a part of the util-linux package and can be used to list all currently mounted file systems, as well as search for and display information about specific file systems.

findmnt can display a variety of information about each file system, including the device name, mount point, file system type, options used when mounting the file system, and the file system label or UUID. The information can be displayed in a variety of formats, including a tabular format, a tree format, and a JSON format.

The command can be used to display all currently mounted file systems with:

# findmnt

It can also be used to find information about a specific file system by specifying the device name, mount point, file system label, or UUID.

If you encounter the below error while running the command findmnt:

findmnt: command not found

you may try installing the below package as per your choice of distribution:

Distribution Command
Debian apt-get install util-linux
Ubuntu apt-get install util-linux
Alpine apk add util-linux
Arch Linux pacman -S util-linux
Kali Linux apt-get install util-linux
CentOS yum install util-linux
Fedora dnf install util-linux
OS X brew install util-linux
Raspbian apt-get install mount

findmnt Command Examples

1. List all mounted filesystems:

# findmnt

2. Search for a device:

# findmnt /dev/sdb1

3. Search for a mountpoint:

# findmnt /

4. Find filesystems in specific type:

# findmnt -t ext4

5. Find filesystems with specific label:

# findmnt LABEL=BigStorage

Filed Under: Linux

Some more articles you might also be interested in …

  1. virsh: command not found
  2. Mac Terminal vi[m] Editor Commands
  3. How to enable NFS debug logging using rpcdebug
  4. modprobe: command not found
  5. Grsync: Graphical rsync backup tool in Ubuntu Linux
  6. Beginners Guide to Swap Space Management in Linux
  7. ifrename Command Examples in Linux
  8. SSH Connection Refused by TCP Wrapper
  9. mountpoint Command Examples in Linux
  10. logwatch : command not found

You May Also Like

Primary Sidebar

Recent Posts

  • nixos-rebuild Command Examples in Linux
  • nixos-option: Command Examples in Linux
  • nixos-container : Command Examples in Linux
  • nitrogen Command Examples in Linux

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright