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 / guest

head -n 7 filename

Is This Answer Correct ?    4 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the unix commands?

560


Can you explain a little bit about command substitution?

612


Differentiate cat command from more command.

582


What is grep command in unix with examples?

614


What are the differences among a system call, a library function, and a unix command?

571






What do chgrp command do?

595


What is the use of finger command?

603


Write a command to kill the last background job?

622


What are file commands?

656


Describe the usage and functionality of the command rm –r * in unix?

829


What is the first character of the output in ls l command?

637


What does find command return in unix?

598


Which command can you use to find the currently running process in unix server?

592


What are awk commands?

586


What is the use of find command in unix?

588