Awk Interview Questions
Questions Answers Views Company eMail

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

514

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

601

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

578


Post New Awk Questions

Un-Answered Questions { Awk }

What are AWK patterns?

1161


What are Trigonometric Functions in AWK?

1008


What are Associative Arrays?

932


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

934


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

904






What is the use of OFMT?

1188


What are AWK Numerical Functions?

892


Which shell to use with AWK?

938


What is the use of CONVFMT?

1203


What is the use of FIELDWIDTHS?

1110


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

988


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

601


What is the use of RSTART, RLENGTH and match ?

1292


What are Conditional expressions in AWK?

912


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

956