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

Using VI editor this can be done like this.

type this command.

:1,7w <newfilename>

All Good
Mo

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Enlist some filename manipulation commands in unix.

556


What does the command '$ls | wc –l > file1' do?

684


How do I open a port?

596


What is grep short for?

558


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

626






What is merge command in unix?

946


What are the unix commands?

560


What is the comma to show the space allocation of files?

562


Is it inbetween or in between?

589


What do chown command do?

536


Can you enlist some commonly used network commands?

604


What are filter commands in unix?

555


What is grep r?

595


Explain ‘library functions’ with respect to unix commands?

606


How do I run a bash script?

588