You are on page 1of 2

NAME:N.

ANANDHI

REG.NO:41909104006

BASIC UNIX COMMANDS

[cse2b4@localhost ~]$ cal 12 2009

December 2009

Su Mo Tu We Th Fr Sa

1 2 3 4 5

6 7 8 9 10 11 12

13 14 15 16 17 18 19

20 21 22 23 24 25 26

27 28 29 30 31

[cse2b4@localhost ~]$ echo "Hi"

Hi

[cse2b4@localhost ~]$ date

Thu Mar 17 14:10:24 IST 2011

[cse2b4@localhost ~]$ mkdir anandhi1

[cse2b4@localhost ~]$ cd anandhi1

[cse2b4@localhost anandhi1]$ cat >anandhi1

this is anandhi

line 1

line 2

[cse2b4@localhost anandhi1]$ cp anandhi1 anandhiii

[cse2b4@localhost anandhi1]$ pwd

/home/cse2b4/anandhi1

[cse2b4@localhost anandhi1]$ cat anandhi1


this is anandhi

line 1

line 2

[cse2b4@localhost anandhi1]$ wc anandhi1

3 7 30 anandhi1

[cse2b4@localhost anandhi1]$ rm anandhi

[cse2b4@localhost anandhi1]$ rm anandhi1

[cse2b4@localhost anandhi1]$ mv anandhi1 anandhi

[cse2b4@localhost anandhi1]$ who am i

cse2b4 pts/0 2011-03-17 13:14 (83.0.4.70)

[cse2b4@localhost anandhi1]$ head -1 anandhiii

this is anandhi

[cse2b4@localhost anandhi1]$ tail -2 anandhiii

line 1

line 2

[cse2b4@localhost anandhi1]$ sort anandhiii

line 1

line 2

this is anandhi

You might also like