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

Hi,

Try with the below command

sed -n '7p' <file name>

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the nmap command?

582


What is the pipe command?

574


What is the use of tee command?

567


What is unix command?

584


What is grep and how do you use it?

575






What is the command to find maximum memory taking process on the server?

670


how to sort the content of the file based on numeric values

1250


What are bash commands?

589


What is a bash command?

624


Which unix command lists files/folders in alphabetical order?

614


Which command will print your home directory on screen?

542


Name the general commands in using unix os for a beginner?

623


What do know about tee command and its usage?

586


Enumerate some of the most commonly used network commands in unix?

616


What are the dos commands?

646