Awk Interview Questions
Questions Answers Views Company eMail

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

429

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

505

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

481


Post New Awk Questions

Un-Answered Questions { Awk }

What are Associative Arrays?

846


What is the use of string function length(string) in AWK?

831


Usage of And/Or/Not operators in AWK?

874


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

429


What is the use of ARGIND?

997






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

481


Write a command to print all line except first line?

445


How add a first record and last record to the current file in linux?

839


What is the use of OFMT?

1091


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

462


How do you Explicit File output?

827


Write a command to rename the files in a directory with "_new" as postfix?

661


What are the Autoincrement and Autodecrement Operators?

811


What are Trigonometric Functions in AWK?

934


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

800