linux mount hard drive terminal 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