Question: THIS IS FOR MY INTRO TO UNIX/Linux CLASS I NEED THESE ANSWERED ASAP: Question 46 (1 point) In awk, if the second part (action part)
THIS IS FOR MY INTRO TO UNIX/Linux CLASS I NEED THESE ANSWERED ASAP:
Question 46 (1 point)
In awk, if the second part (action part) is missing all lines are printed.
Question 46 options:
| A | True |
| B | False |
Question 47 (1 point)
Which of the following commands will run the awk script process.awk with the data file reports.dat
Question 47 options:
| A | awk -f process.awk |
| B | awk -f process.awk reports.dat |
| C | awk '/process.awk/' reports.txt |
| D | awk reports.dat process.awk |
| E | awk process.awk reports.dat |
Question 48 (1 point)
If report.txt is: folders manilla 100 pens ballpoint 200 holders small 300 pencils large 400 The following awk command will print out which lines awk '$3 > 200 {print $1,$2}' report.txt
Question 48 options:
| A | holderssmall pencilslarge |
| B | holders small pens ballpoint pencils large |
| C | folders manilla pens ballpoint |
| D | folders manilla 100 pens ballpoint 200 |
| E | holderssmall pensballpoint pencilslarge |
| F | holders small pencils large |
Question 49 (1 point)
In awk, the END section is processed after all lines are processed.
Question 49 options:
| A | True |
| B | False |
Question 50 (1 point)
In awk, the BEGIN section is processed after all lines are processed.
Question 50 options:
| A | True |
| B | False |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
