How to check mounted hard drives in Ubuntu?
To check the mounted hard drives on Ubuntu, you can use the following command:
- View mounted hard drives: df -h
This command will display detailed information about the mounted hard drives, including the mount point and available space. - To view all hard drive partitions, use the command: sudo fdisk -l. This will display information about all hard drive partitions, including device names and partition types.
- View mounted file systems: mount
This will display the mounted file systems and their mount points. - To view hard disk information, use sudo lsblk which displays a tree structure of all disks and their partitions.
These commands allow you to quickly view the mounted hard drives and their detailed information.