Write a command delete all line except first line?



Write a command delete all line except first line?..

Answer / rajesh

awk '!1 d {print $0}'

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Awk Interview Questions

What is the use of Strftime function?

0 Answers  


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

0 Answers  


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

0 Answers  


What is the use of RSTART, RLENGTH and match ?

0 Answers  


what is information technology

3 Answers  






What is the use of sequence <Any other character> ?

1 Answers  


what is java script allabout

0 Answers  


How to generate random numbers in AWK?

0 Answers  


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

0 Answers  


What are Trigonometric Functions in AWK?

0 Answers  


What is the use of sequence ?

1 Answers  


What is the use of ERRNO?

0 Answers  


Categories