Assignment 2
Assignment 2
Assignment 2
CODE
CODE
CODE
Q4) Find JIMS, jims, Jims
CODE
CODE
Q6) Find “JIMS” AND “jims” but only at the start of a line.
CODE
Q7) Find all lines in all files in the current dir with three numbers in a row
CODE
Q8) Find all lines in all files in the current dir with three numbers in a row
CODE
CODE
CODE
Q11) Show all matches, five lines before and five lines after each match
CODE
Q12) Find lines not containing “JIMS”.
CODE
CODE
Q14) Find all the sub-directories in the current directory
(Use ls and grep command)
CODE
CODE