Awk Interview Questions
Questions Answers Views Company eMail

Write a command delete all line except first line?

1 1293

Write a command to print zero byte size files?

485

how to run awk command specified in a file?

2 1320

Write a command remove all empty lines?

1 1313

Write a command to print the line number before each line?

516

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

861

How to get only zero byte files which are present in the directory?

470

How to display even number of records into one file and odd number of records into another file?

485

How to print only blank line of file?

462

Write a command to print the second and third line of a file without using nr?

464

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

478

Write a command to print all line except first line?

456

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

677

In the text file, some lines are delimited by colon and some are delimited by space. Write a command to print the third field of each line.?

618

Write a command to print the squares of numbers from 1 to 10 using awk command?

760


Post New Awk Questions

Un-Answered Questions { Awk }

What is the use of RSTART, RLENGTH and match ?

1205


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

677


What is the use of systime function?

1027


What is the use of CONVFMT?

1092


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

491






What are the Autoincrement and Autodecrement Operators?

822


What is the use of string function index(string,search) in AWK?

838


What are Dynamic Variables?

862


Write a command to print the squares of numbers from 1 to 10 using awk command?

760


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

810


EPFO 2009 result has come or not which is held in sep 2009, pls told me, I have ever asked you.

2003


Write a command to print the second and third line of a file without using nr?

464


What are AWK Built-in Variables?

854


What are Conditional expressions in AWK?

840


How to execute an AWK script?

863