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 / sivaprasad
hi, this is sivaprasad from school of IT.
If you want exactly 7 line u can use sed command as follows
$sed -n '7,7p' filename
ok.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Which command is used to create a directory?
What is awk good for?
How do I search a whole word in vim?
How to use grep command to list find the records of a file containing 10 different strings?
What will the following command do?
What is awk command used for?
Explain command to view process running?
What is s and g in sed command?
How to display no of records in oracle using unix command?
What is rmdir command?
What is awk used for?
Explain command to display different lines that are found when compare two files?
What is the difference between grep and grep?
What is the function of grep command in unix?
Which command is used to delete all files in the current directory and all its sub-directories?