You are on page 1of 5

Operating System

Assignment 1

Jasjot Singh
22103039
CSE
Linux Commands:

 cat --- for creating and displaying short files.

 cd --- change directory.

 cp --- for copying files.

Assignment 1 PAGE 2
 date --- display date.

 echo --- echo argument.

 grep --- search file.

 head --- display first part of file.

Assignment 1 PAGE 3
 ls --- see what files you have.

 more --- used to read files.

 mkdir --- creating directory.

 mv --- for moving and renaming files.

 pwd --- find out what directory you are in.

 rm --- remove a file.

Assignment 1 PAGE 4
 rmdir --- remove a directory.

 tail --- display last part of file.

 sort --- sort file.

 wc --- count characters, words and lines.

 tar --- create an archive, add or extract files.

Assignment 1 PAGE 5

You might also like