Spoken Tutorials - Linux AWK Assignment Funded by the National Mission on Education through ICT Indian Institute of Technology Bombay, http://spoken-tutorial.org ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Built-in Variables in awk Assignment 1 1. Write an awk script to print the last field of the 5th line in awkdemo.txt. (Please note: awkdemo.txt file is available in the code files link of this tutorial) Assignment 2 1. Open the system file /etc/passwd on the terminal. 2. Identify all the separators therein. 3. Now write a script to process the file from the 20th line onwards. 4. That too, only for the lines that contain more than 6 fields. 5. You should print the line number, entire line and count of fields in that particular line.