how to mount a drive ubuntu command line code example Example 1: how to mount a hard drive in ubuntu mount | grep sdb Example 2: how to mount a hard drive in ubuntu sudo fdisk -l