You are on page 1of 3

root root root

[root@localhost Desktop]# users

root roo

[root@localhost Desktop]# cal

June 2016

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

--INSERT --

[root@localhost Desktop]# vi student


[root@localhost Desktop]# bash student

hello world

welcome to linux lecture

[root@localhost Desktop]# cat >pallavi

welcome to linux lecture

[root@localhost Desktop]# wc pallavi

1 4 25 pallavi

[root@localhost Desktop]#cat > student

[root@localhost Desktop]# cat student

Linux is easy to learn

[root@localhost Desktop]# mkdir s1

[root@localhost Desktop]# cp pallavi s1

[root@localhost Desktop]# cd s1

[root@localhost s1]# ls

pallavi

[root@localhost Desktop]# mv vidya pallavi

mv: overwrite pallavi? y

[root@localhost Desktop]# ls

d1 d2 d3 d4 flower vidya s1 pallavi student

[root@localhost Desktop]# mv pallavi d2


[root@localhost Desktop]# cd d2

[root@localhost d2]# ls

flower pallavi

[root@localhost d2]# cd ..

[root@localhost Desktop]# ls

d1 d2 d3 d4 flower vidya s1 student

drwxr-xr-x. 2 root root 20 Jun 20 14:19 d1

drwxr-xr-x. 2 root root 33 Jun 27 16:04 d2

drwxr-xr-x. 2 root root 17 Jun 20 14:25 d3

drwxr-xr-x. 2 root root 6 Jun 20 13:58 d4

-rw-r--r--. 1 root root 13 Jun 27 15:53 flower

-rwxr--r--. 1 root root 87 Jun 20 14:19 vidya

drwxr-xr-x. 2 root root 15 Jun 27 16:01 s1

-rw-r--r--. 1 root root 23 Jun 27 15:47 student

You might also like