Home / Expert Answers / Accounting / 1-briefly-describe-what-lines-would-be-matched-by-the-following-grep-commands-nbsp-grep-aa-pa496

(Solved): 1) Briefly describe what lines would be matched by the following grep commands.   grep AA* ...



1) Briefly describe what lines would be matched by the following grep commands.

 

  1. grep ‘AA*’ myFile

 

2) The rows of the file students.txt are formatted as follows.

FNAME LNAME:StudentID:Test1:Test2:Test3:Test4

E.g. Dan Connor: 123456:84:92:87:90

Write awk statements to do the following.

  1. Print the first name and ID for each student whose last name is Smith.


We have an Answer from Expert

View Expert Answer

Expert Answer


Answer: The command: grep ‘AA*’ myF
We have an Answer from Expert

Buy This Answer $5

Place Order