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 is in grep command?
What will the following command do?
What command is used to switching between users in unix?
Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?
What do know about tee command?
Who command in unix?
Is command prompt unix?
What is unix command line?
Which command is used to find whether the system is 32 bit or 64 bit?
What is {} in find command?
How do I use nslookup?
Which command can you use to find the currently running process in unix server?
What command is used to check the current users?
What is the difference between awk and grep?
Write a command that will display files in the current directory, in a colored, long format.