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
Release: 2023-05-29 22:03:34
forward
1694 people have browsed it
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)转换为实际设备名称
Copy after login

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!

Related labels:
source:yisu.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template