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
Name the general commands in using unix os for a beginner?
What is merge command in unix?
What command is used to check the current users?
What is pipe command in unix?
What are file commands?
What is awk used for?
What is awk command used for?
How does pipe () work?
Why is awk called awk?
What does the “echo” command do?
What does this command do? Cat food 1 > kitty
What is the use of the command 'ls -x chapter[1-5]' ?
Why is it called grep?
What are bash commands?
Differentiate cmp command from diff command.