You are on page 1of 5

CA-2

 NAME : GAURAV RAI


 ROLL NO. : A09
 SEC: DOC13
 REG. NO. :12216038

Q.1.

a. create a file with content of number from 1 to 50.

b. show the first 30 lines of file.


Q.2.

a. Display the current year calendar.

b. display the current date.


Q.3.

a. create a file for storing all files and directory name.

B. display last 5 files only.


Q.4 create a file using vi editor.
Q.5.

a. Display the file content in reverse.

B. create a directory and enter into directory.

You might also like