+1 vote
in Operating Systems by (63.8k points)
How can I see the list of disks attached to my Ubuntu machine using the Linux command? Is there any command for it? I can use Ubuntu UI, but I want to use command.

1 Answer

+2 votes
by (84.8k points)
selected by
 
Best answer

You can list all disks on an Ubuntu machine using one of the following commands:

lsblk

sudo fdisk -l

df -h

sudo parted -l

Related questions

+2 votes
1 answer
+2 votes
1 answer

...