how to mount a hard drive in ubuntu

C++
mount | grep sdbsudo fdisk -l
Source

Also in C++: