You are on page 1of 10

CAP454 – LINUX AND SHELL SCRIPT PRATICAL

1. Partition of 5Mb :-

Step 1 : first you need to connect the hard disk.


Step 2 :click on add button.

Step 3 : and then go to the hard disk and click on next button.
Step 4 : click on SCSI

Step 4: click on create new virtual disk.


Step 5: give the name of disk file and click on finish button.
CREATE PARTATIONS IN THE HARD DISK

Step 1: fdisk –l

Step 2 : fdisk /dev/sdb

Step 3: n(for new partition)


Step 4: p (for primary partition)

Step 5 : we can create 4 partition of a hard disk .so we need to select


1-4

Step 6 : choose the default number or in given range.

Step 7: give the size of partition.


Step 8: enter w to write

Showing the partitions


QUESTION 2
cp command :

Whoami, mkdir, rmdir ,date commands:-


grep command:-

You might also like