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
Name the unix command to find how many days the server has been up.
Using unix command how to display no of records in oracle?
Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?
What does grep v do?
What does 'mkdir' command do in UNIX?
What happens when we execute a unix command?
Is command prompt unix?
What command is used to check the current users?
How do I run a bash script?
What is the use of finger command?
What is the use of the command 'ls -x chapter[1-5]' ?
What does awk stand for?
What is the comma to show the space allocation of files?
What is awk good for?
Why is shebang used?