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 / kantha
Hi, If you want to display 7th line from the file, simple
way is,
$head -7 <filename>| tail -1
Thanks
Kantha
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
how to sort the content of the file based on numeric values
What is the command to find hidden files in the current directory?
What is the first character of the output in ls l command?
What is ctrl d?
What is ‘ps’ command for?
What do know about tee command and its usage?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
What is the use of sed command in unix?
What are reported commands?
How to find $ai_serual resolved path by using unix
How do I search a whole word in vim?
What does the md command do?
Why is shebang used?
What is the use of egrep command in unix?
What is the difference between cat command and more command?