Home > bash shell scripting, hardware > List all mounted or unmounted partitions with their file system types

List all mounted or unmounted partitions with their file system types


I have a headless Ubuntu server and I have just realized that Ubuntu does not automount external drives if you are not logged on using Nautilus.

So I wanted a command to list all mounted and unmounted partitions.

Here’s the command I used:

sudo fdisk -l|more

In addition, you can use the following command to list unmounted external cd/dvd units

wodim --devices

Categories: bash shell scripting, hardware Tags:
  1. No comments yet.
  1. No trackbacks yet.

*
= 3 + 7