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 / krishna reddy
sed -n '7p' <filename>
or
head -8 <filename>|tail -1
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is sed awk grep?
what is the advaantage of each user having its own copy of the shell?
How do you grep recursively?
What does the metacharacter mean?
Explain the steps that a shell follows while processing a command.
Write a command to kill the last background job?
Which unix command lists files/folders in alphabetical order?
What are the unix commands?
How does the system know where one command ends and another begins?
What is unix command line?
What is nr in awk command?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
What is time_t?
What is the use of sed command in unix?
Which command is used to copy files?