Awk Interview Questions
Questions Answers Views Company eMail

Write a command to print first and last line using sed command?

441

Write a command to find the sum of bytes (size of file) of all files in a directory?

522

Write a command to print the fields in a text file in reverse order?

492


Post New Awk Questions

Un-Answered Questions { Awk }

What is the use of OFMT?

1108


What are AWK Numerical Functions?

799


What is the use of string function sub(regex,replacement)?

930


What are Assignment Operators?

819


How to exit from an awk script using the exit command?

879






Write a command to find the total number of lines in a file without using nr?

478


Write a command to print zero byte size files?

485


How to generate random numbers in AWK?

863


How to Truncate Integers in AWK?

928


What is the use of string function sub(regex,replacement,string)?

945


What is the use of string function toupper(string)?

809


What is the use of string function asort(string,[d])?

874


Write a command to print the fields in a text file in reverse order?

492


What is the use of string function tolower(string)?

810


How do you Explicit File output?

842