Linux command is a simple command to locate executables in the system. It allows the user to pass several command names as arguments to get their paths in the system. These commands search the path of the executable in system paths set in $PATH environment variable. To view all partitions of specific hard disk use the option ‘-l‘ with the device name. The following command is used to view the specific disk partition of the device /dev/sda

Command:

fdisk -l /dev/sda