Module 2b: Ourne Gain Ell
Module 2b: Ourne Gain Ell
1
Learning Objectives
2
Absolute & Relative Path
/home/davey
3
Absolute & Relative Path
4
Absolute & Relative Path
● Typing.
ls /home/davey/folder1
ls folder1
5
Absolute & Relative Path
● Typing.
cd /home/davey/folder1/folder2
6
Absolute & Relative Path
/home/dummy/somedummydir/another
dummydir/insideaotherdummydir
7
Absolute & Relative Path
/home/dummy/somedummydir/another
dummydir/insideaotherdummydir
8
Absolute & Relative Path
/home/dummy/somedummydir/another
dummydir/insideaotherdummydir
9
Absolute & Relative Path
● To go to somedummydir using
absolute path, you type.
cd /home/dummy/somedummydir/
10
Absolute & Relative Path
cd ../
11
./ and ../ and ../../ and ../../../
12
Permissions and ownership
ownership
13
Permissions and ownership
● Permission ● Ownership
14
-rw-r--r-- ( The bits)
-rw-r--r--
4 2 0400400
--------- ------- -------
6 4 4
owner group other
15
-rw-r--r-- ( The bits)
16
-rw-r--r-- ( The bits)
17
-rw-r--r-- ( The bits)
18
-rw-r--r-- ( The bits)
19
-rw-r--r-- ( The bits)
20
Setting permission
21
Setting permission
22
Setting permission
23
grep
24
grep
25
grep
26
grep
27
grep with count
28
grep with count
29
Nano ( The Editor )
● nano screen
30
Nano ( The Editor )
31
Nano ( The Editor )
nano archive7.txt
32
Question(s)
33