if we create a file, in that 10 rows(means 1,2,....9,10
like). i want 7 row exactly, which command use in unix?
plz send this question.

Answer Posted / srinu gadipudi

Just try this command
awk 'NR==7{print}' fiename

Is This Answer Correct ?    20 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What happens when we execute a unix command?

597


What is the use of sed command in unix?

597


Who command in unix operating system?

662


What is the use of egrep command in unix?

624


How do I use grep to find a file?

580






How do I find previous commands in unix?

592


How many unix commands are there?

627


why metadb requires a seperate slice to create Solaris volume manager

2554


Who invented grep?

651


What command is used to switching between users in unix?

560


What is the function of grep command in unix?

588


How to find $ai_serual resolved path by using unix

1026


What is difference between grep and find command in unix?

577


Why is it called grep?

557


Explain command to view process running?

613