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 / ashwini
sed -n 1,7p <filename>
| Is This Answer Correct ? | 2 Yes | 8 No |
Post New Answer View All Answers
What is the comma to display different lines that are found when compare two files?
Name the unix command to find how many days the server has been up.
What does the metacharacter mean?
What is the first character of the output in ls l command?
how to sort the content of the file based on numeric values
Explain command to display different lines that are found when compare two files?
What is the use of egrep command in unix?
What is command statement?
What is the use of finger command?
What is the nmap command?
What is the comma to show the space allocation of files?
How do I search a whole word in vim?
Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?
How do I run a whois command?
How do I run a bash script?