Linux.com

Home Linux Community Community Blogs General Linux 8 examples of findmnt command to check mounted file systems on Linux

8 examples of findmnt command to check mounted file systems on Linux

Mounted file systems and devices The more common command to check mounted file systems on linux is the mount command which is used to not only list mounted devices, but also mount and unmount them as and when needed. Here is another nifty command called findmnt, that can be used to take a quick look at what is mounted where and with what options. Install findmnt The findmnt command... Mounted file systems and devices
The more common command to check mounted file systems on linux is the mount command which is used to not only list mounted devices, but also mount and unmount them as and when needed. Here is another nifty command called findmnt, that can be used to take a quick look at what is mounted where and with what options.
Install findmnt
The findmnt command comes from the packages util-linux which is installed by default on most distros like Ubuntu, Fedora, Debian
$ aptitude search util-linux
i util-linux - Miscellaneous system utilities
$ yum info util-linux
Using findmnt
1. List the file systems
Running findmnt without any options would simply list out all the mounted file systems in a tree style layout.
$ findmnt

2. Output in list format
The output can be formatted as a plain list, instead of the default tree style, using the l option making it convenient to read.
$ findmnt -l
TARGET SOURCE...

Read full post here
8 examples of findmnt command to check mounted file systems on Linux

Read more at Binary Tides
 

Comments

Subscribe to Comments Feed

Upcoming Linux Foundation Courses

  1. LFD331 Developing Linux Device Drivers
    13 Oct » 17 Oct - Virtual
    Details
  2. LFS425 Linux Performance Tuning Crash Course
    16 Oct » 16 Oct - Düsseldorf, Germany
    Details
  3. LFS220 Linux System Administration
    20 Oct » 23 Oct - Virtual
    Details

View All Upcoming Courses


Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board