How to check disk and partition formatting?

You can query the current disk usage using the df -h command, and query the disk information using the fdisk -l command.