How to Check File Mount Points, File System Types, and File Status in Linux

Commands related to the file system in Linux are summarized as follows:

1

Environment

Operating System: Ubuntu 22.04.5 LTS

2

df -h, to check all mounted pointsHow to Check File Mount Points, File System Types, and File Status in Linux

3

df -h /, to check the mount point of any directoryHow to Check File Mount Points, File System Types, and File Status in Linux

4

df -hT, to check the file system type of the mounted pointsHow to Check File Mount Points, File System Types, and File Status in Linux

5

mount -l, to list all mount point informationHow to Check File Mount Points, File System Types, and File Status in Linuxmount -ln, -n does not write to the /etc/mtab file.How to Check File Mount Points, File System Types, and File Status in Linux

6

cat /etc/mtab, to list all mount point informationHow to Check File Mount Points, File System Types, and File Status in Linux

7

cat /proc/filesystems, to check the file system types supported by the systemHow to Check File Mount Points, File System Types, and File Status in Linux

8

parted -l, to view detailed hard disk partitionsparted -lparted -l /dev/mapper/ubuntu–vg-ubuntu–lv How to Check File Mount Points, File System Types, and File Status in Linux

9

file, to check the file typeHow to Check File Mount Points, File System Types, and File Status in Linux

10

stat, to check the file statusHow to Check File Mount Points, File System Types, and File Status in Linux

How to Check File Mount Points, File System Types, and File Status in Linux

Leave a Comment