Question
LINUX please. Using the regular expression rules create grep commands that locate the following lines in /etc/services : All lines that contain the string smtp.
LINUX please.
Using the regular expression rules create grep commands that locate the following lines in /etc/services:
All lines that contain the string smtp.
All lines that begin with the string smtp.
All lines that include periods (dots, .)
All lines that include the string ftp except when that string is followed immediately by a dash (-).
All lines in which the letter a follows the letter z.
All lines that include the string https or http-, but not those that include http followed by any other character.
All lines that end with a hash mark (#)
You may need to enclose some of the regular expressions required to accomplish these tasks in quotes, as in grep "IANA" /etc/services.
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