findmnt:tldr:6e377
The findmnt
command in Linux is used to discover and display all currently mounted filesystems on a system. It lists information about the mount points, mount source, and other details of the mounted filesystems.
When executed without any options or arguments, the findmnt
command will display information about all mounted filesystems, including their mount point, source device, filesystem type, options, and other details. This information is useful for getting an overview of the currently mounted filesystems on a system.
The findmnt
command can also be used with various options to filter and customize the output. For example, you can use the -o
option to specify which specific columns to display, such as only showing the mount point and source device.
Additionally, you can use different options to filter the output based on specific criteria. For example, you can use the --fstab
option to display only mount points which are defined in the /etc/fstab
file. You can also use the --target
option to display information about a specific mount point or the --source
option to show information about a specific source device.
Overall, the findmnt
command provides a flexible and convenient way to explore and retrieve information about the mounted filesystems on a Linux system.