Answered step by step
Verified Expert Solution
Question
1 Approved Answer
QUESTION 4 Regular Expressions are used by some commands for pattern matching. True False 2 points QUESTION 5 The program 'tr' is a UNIX Filter.
QUESTION 4
Regular Expressions are used by some commands for pattern matching.
True
False
2 points
QUESTION 5
The program 'tr' is a UNIX Filter.
True
False
2 points
QUESTION 6
The command
grep '^$' file | wc -l
count all the lines in a file which are empty.
True
False
2 points
QUESTION 7
The command
sed 's/a/b/g'
produces the same output as running the command
sed 's;a;b;g'
True
False
2 points
QUESTION 8
Assuming file has 200 lines, the command |
sed -n '10,15p' file |
prints only lines 10 though 15 of that file |
True
False
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started