How to check if a disk has MBR or GPT type partition?

MBR

sudo parted /dev/sda print | grep Table
Partition Table: msdos

GPT

sudo parted /dev/sda print | grep Table
Partition Table: gpt
Advertisements

Commands to identify nvme disks

lspci |grep -i ssd
lsblk |egrep “NAME|nvme”
dmesg|grep -i nvme
grep nvme /proc/modules
lsmod | grep nvme
sudo nvme list /dev/nvme0n1
sudo isdct show -a -intelssd 0