Question: 3. Using grep Locate all the files in /etc that contain the string ethO or eth1. Search all the files in /etc that contain the

3. Using grep Locate all the files in /etc that contain the string ethO or eth1. Search all the files in /etc that contain the number 129 and, later on the hostname poly.asu.edu or general.asu.edu and, later on the same line List all running processes called xterm, along with their PIDs. a) b) c) 4. Consider the address book belovw cat addr Xiao Li, Ixiao@unc.edu, Jackson, NC 764 Natkin William, wnatkin@imap28.vcu.edu, Richmond, VA 22345 Elizi Moe, emoe@ncsu.edu, 5208534566, Tempe, AZ 85282 Ma Ta, mta@yahoo.com, 4345667345, Austin, TX 91030 Diana Cheng, dcheng@asu.edu, 5203456789, Matitsi, WY 4587 Jackson Five, ifive @ ncsu.edu, yent. AZ 85483 Adi SrikanthReddv, sadi1@imap1.asu.edu, 6578904566, Wvs, ws 67854 a) Use egrep with pipe to extract information for Elizi Moe, Ma Ta, and Jackson Five. b) Use egrep with to extract lines with imap number on email c) Use egre withto extract lines with valid zip code d) Use egree with to extract lines with invalid zip code
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
