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 / hari
hai this Hari
try this
$sed -n '1,7p' <filename>
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What does the command ' $who | sort –logfile > newfile' do?
What is the use of the tee command?
What is the first character of the output in ls l command?
Explain ‘library functions’ with respect to unix commands?
Can you explain a little bit about command substitution?
What is the comma to show the space allocation of files?
What happens when we execute a unix command?
What is $0 bash?
Why is awk called awk?
What do know about tee command?
What is sed awk grep?
How does shebang work?
What is the use of sed command in unix?
Which command will print your home directory on screen?
How do I use grep to search for a file?