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 the pipe command?
What are bash commands?
How to use grep command to list find the records of a file containing 10 different strings?
What is the nmap command?
What does the metacharacter mean?
What does the “echo” command do?
What are the commands in UNIX to list the files in a Directory?
How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?
What is the use of find command in unix?
Write a command to kill the last background job?
How to display no of records in oracle using unix command?
What is a command and examples?
How do you grep a case insensitive?
why metadb requires a seperate slice to create Solaris volume manager
What is the command to find maximum memory taking process on the server?