Home >Operation and Maintenance >Linux Operation and Maintenance >How to view disk partitions and directory mounts in Linux

How to view disk partitions and directory mounts in Linux

PHPz
PHPzforward
2023-05-29 22:03:341695browse
df -hT

yum -y install python-pip
pip install --upgrade pip
pip install pydf

sudo apt install pydf
pydf
pydf -a
pydf -h

fdisk -l

yum -y install util-linux
findmnt
# findmnt命令可用于监视/proc/self/mountinfo文件中的更改
findmnt -p
findmnt --df # 相当于df命令
findmnt --fstab
findmnt --fstab --evaluate # --evaluate选项会将所有标签(例如LABEL,UUID,PARTUUID或PARTLABEL)转换为实际设备名称

The above is the detailed content of How to view disk partitions and directory mounts in Linux. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:yisu.com. If there is any infringement, please contact admin@php.cn delete