Question: 5 . In one command line, use grep to find all entries that contain a given word from a given file. Redirect the results to
In one command line, use grep to find all entries that contain a given word from a given file. Redirect the results to a file. The output file should be called yournameYYYYMMDDtxt where YYYY MM DD are the current day and system time which you need to get from the server. For example find all occurrences of John in the etcpasswd file and redirect to a file called mpentatxt
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
