Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question
Try sudo fdisk -l – atenz Aug 13 '12 at 17:33
These thing happen when you switch from RHEL to ubuntu. So obvious. Thanks. – Chirag Aug 13 '12 at 17:36

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.

share|improve this answer
It is so tedious to do sudo for simple tasks. Anyway that was obvious. I used RHEL earlier and things were straight forward. – Chirag Aug 13 '12 at 17:39
Maybe RHEL follows the footsteps only to be controlled by admins , here it avails everyone to do changes ( Ubuntu - Linux for Human beings + Admins too) :P – atenz Aug 13 '12 at 17:41
\m/ absolutely agree :) – Chirag Aug 13 '12 at 17:44

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

sudo fdisk -l
share|improve this answer

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

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.