Changes

Jump to: navigation, search

Tutorial11: Sed & Awk Utilities

40 bytes removed, 10:23, 26 July 2023
no edit summary
{{Admon/caution|DO NOT USE THIS VERSION OF THE LAB. LOOK FOR LAB 10: SED & AWK|'''This is an archive version.'''}}
 
=USING SED & AWK UTILTIES=
<br>
|- valign="top" style="padding-left:15px;"
|colspan="2" |'''Slides''':<ul><li>Week 11 Lecture 1 Notes:<br> [[Media:ULI101-Week11.1.pdf | PDF]] | [https://matrix.senecacollege.ca/~chris.johnson/ULI101/ULI101-Week11.1.pptx PPTX]<br/li><li>Week 11 Lecture 2 Notes:<br> [[Media:ULI101-Week11.2.pdf | PDF]] | [https://matrix.senecacollege.ca/~jason.carman/slides/ULI101-Week11.2.pptx PPTX] <br></li></ul>
# Issue the following linux pipeline command to display the '''year'''<br>and '''quantity''' of cars that '''begin''' with the '''letter 'f'''' for the '''cars2.txt''' database:<br><span style="color:blue;font-weight:bold;font-family:courier;">awk -F";" '$1 ~ /^f/ {print $2,$4}' cars2.txt | tee awk-9.txt</span><br><br>What did you notice this time?<br><br>
# Issue the following to run a checking script:<br><span style="color:blue;font-weight:bold;font-family:courier;">~uli101/week11-check-2</span><br><br>If you encounter errors, make corrections and '''re-run''' the checking script until you<br>receive a congratulations message, then you can proceed.<br><br>
:: After you complete the Review Questions sections to get additional practice,<br>then work on your '''online assignment 3, section 2: Awk &amp; Sed'''<br><br>
= LINUX PRACTICE QUESTIONS =

Navigation menu