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
What are some command words?
What is $0 bash?
How do you grep recursively?
Write a command to display a file’s contents in various formats?
Which command is used to find whether the system is 32 bit or 64 bit?
What is ‘ps’ command for?
What is command substitution?
What is the use of find command in unix?
What are awk commands?
Which command will print your home directory on screen?
What is the nmap command?
How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?
what is the advaantage of each user having its own copy of the shell?
Give the command for finding the current date.
How does pipe () work?