9

When I do fdisk -l in terminal there is no output? What can be the probable reason? How to fix it?

Chirag
  • 2,099

3 Answers3

10

Because fdisk is a menu-driven program for creation and manipulation of partition tables. Therefore it requires sudoers or root access

try using

sudo fdisk -l.

atenz
  • 12,858
2

You need to prefix the command with sudo, then enter your password.

sudo fdisk -l
0

You need to do a sudo fdisk -l or first sudo su then fdisk -l.