Chirag Asked: 2012-08-14 09:32:23 +0800 CST2012-08-14 09:32:23 +0800 CST 2012-08-14 09:32:23 +0800 CST Why "fdisk -l" does not give any output in terminal? 772 When I do fdisk -l in terminal there is no output? What can be the probable reason? How to fix it? fdisk 3 Answers Voted atenz 2012-08-14T09:35:47+08:002012-08-14T09:35:47+08:00 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. Fernhill Linux Project 2012-08-14T09:34:56+08:002012-08-14T09:34:56+08:00 You need to prefix the command with sudo, then enter your password. sudo fdisk -l user3185936 2014-03-09T07:20:11+08:002014-03-09T07:20:11+08:00 You need to do a sudo fdisk -l or first sudo su then fdisk -l.
Because fdisk is a menu-driven program for creation and manipulation of partition tables. Therefore it requires
sudoers
orroot
accesstry using
sudo fdisk -l
.You need to prefix the command with sudo, then enter your password.
You need to do a
sudo fdisk -l
or firstsudo su
thenfdisk -l
.