Why "fdisk -l" does not give any output in terminal?

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


Solution 1:

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.

Solution 2:

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

sudo fdisk -l