Query the Linux centos file system type
Command to use: df
The full English name of the df command is "Disk Free", which is used to display the current disk usage statistics of the file system on the Linux system.
The default display unit is KB. This command is commonly used in daily life to view information such as how much disk space is occupied and how much space is left.
Commonly used parameters:
-T --print-type displays the form of the file system
-h --human-readable displays in G
Example:
[root@localhost ~]# df -T
文件系统 类型 1K-块 已用 可用 已用% 挂载点
devtmpfs devtmpfs 1918532 0 1918532 0% /dev
tmpfs tmpfs 1930628 0 1930628 0% /dev/shm
tmpfs tmpfs 1930628 11880 1918748 1% /run
tmpfs tmpfs 1930628 0 1930628 0% /sys/fs/cgroup
/dev/mapper/centos-root xfs 10475520 9401156 1074364 90% /
/dev/sda1 xfs 303780 139772 164008 47% /boot
tmpfs tmpfs 386128 0 386128 0% /run/user/0
The visible type column corresponds to the type of the current Linux file system.