Professional Documents
Culture Documents
ANDHRA PRADESH
Name : A V N L Sarojini
Designation : Lecturer
Branch : Computer Engineering
Institute : A.A.N.M. & V.V.R.S.R. Poly.,
Gudlavalleru.
Year/Semester : III Semester
Subject : UNIX & C
Subject Code : CM-302
Topic : Shell Programming &
Filtering Techniques
Duration : 50 Min
Sub Topic : Filtering Techniques
Teaching Aids :PPT
CM304.19 1
Objective
CM304.19 2
Filtering Techniques
CM304.19 3
head command
Syntax:
$head [no.of lines] [file name]
CM304.19 4
head command
CM304.19 5
head command
You can specify a line count, say the first three lines
of the file. Use the –symbol followed by a numeric
argument.
CM304.19 6
head command
CM304.19 7
tail command
CM304.19 8
tail command
CM304.19 9
tail command
CM304.19 10
tail command
CM304.19 11
tail command
CM304.19 12
n1 command
CM304.19 13
nl command
CM304.19 14
nl command
CM304.19 15
nl command
CM304.19 16
Summary
CM304.19 17
Quiz
(a) 20
(b) 11
(c) 10
(d) 15
CM304.19 18
Quiz
(a) 20
(b) 11
(c) 10
(d) 15
CM304.19 19
Quiz
(a) 20
(b) 11
(c) 10
(d) 15
CM304.19 20
Quiz
(a) 20
(b) 11
(c) 10
(d) 15
CM304.19 21
True/False
CM304.19 22
True/False
CM304.19 23
Frequently Asked Questions
CM304.19 24