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

Put the command in Present working dir

head -7 <filename>

Is This Answer Correct ?    16 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

why metadb requires a seperate slice to create Solaris volume manager

2554


What is “chmod” command?

564


Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.

620


How do you repeat a command in terminal?

588


What is awk command used for?

600






What is command statement?

541


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

616


What is rmdir command?

553


How do I clear my terminal history?

584


What is the behavioural difference between cmp and diff commands?

673


Which command is used to create a directory?

571


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

631


Differentiate cat command from more command.

574


Differentiate cmp command from diff command.

586


How can we use grep command in unix?

614