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
Give the command for finding the current date.
What happens when we execute a unix command?
Which unix command to make a new directory?
What do know about tee command?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
How does pipe () work?
What is the command to compare two files in unix?
Explain ‘system calls’ with respect to unix commands?
Is ‘du’ a command? If so, what is its use?
What are file commands?
What is grep short for?
Who wrote grep?
What is merge command in unix?
Why is it called grep?
Does cp command overwrite files?