PrepAway - Latest Free Exam Questions & Answers

Which of the following commands is used to create a partition on a new hard disk of a Linux computer?

Which of the following commands is used to create a partition on a new hard disk of a Linux
computer?

PrepAway - Latest Free Exam Questions & Answers

A.
fdisk

B.
crpar

C.
mount

D.
fsck

Explanation:

The fdisk command is a menu-based command available with Linux for hard disk configuration.
This command can perform the following tasks:
Delete a partition on a hard disk.
Create a partition on a hard disk.
Change the partition type.
Display the partition table.
Note: The sfdisk command-line utility is an alternative to the fdisk command.
Answer option C is incorrect. In Linux, the mount command is used to mount and display disks,
partitions, and file systems. Mounting refers to the process in which the operating system prepares
the media to be read.
Anwer option D is incorrect. The File System Check (fsck) command is used to scan all disks and
partitions, and it repairs them if required. The

fsck command should be run only on an unmounted file system.
Note: The function of the fsck command is similar to that of the Window’s scandisk utility.
Answer option B is incorrect. There is no such command as crpar in Linux.


Leave a Reply