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 time_t?
How many unix commands are there?
what is the advaantage of each user having its own copy of the shell?
Is ‘du’ a command? If so, what is its use?
What is ctrl d?
What do chmod command do?
Why is it called a shebang?
What is the use of sed command in unix?
How do I run a bash script?
Which command is used to delete all files in the current directory and all its sub-directories?
What is the difference between cat command and more command?
Describe the usage and functionality of the command rm –r * in unix?
What is the first character of the output in ls l command?
What is the difference between cat and more command?
What is the difference between awk and grep?