13,420
edits
Changes
→LINUX PRACTICE QUESTIONS
# awk ‘NR == 3 {print}’ ~murray.saul/uli101/stuff.txt<br><br>
# awk ‘NR >= 2 && NR <= 5 {print}’ ~murray.saul/uli101/stuff.txt<br><br># awk ‘$1 ~ /This/ {print $2}’ ~murray.saul/uli101/stuff.txt<br><br># awk ‘$1 ~ /This/ {print $3,$2}’ ~murray.saul/uli101/stuff.txt<br><br>