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 / ashwini
sed -n 1,7p <filename>
Is This Answer Correct ? | 2 Yes | 8 No |
Post New Answer View All Answers
Is command prompt unix?
Write a command that will display files in the current directory, in a colored, long format.
What is command substitution?
hw will u use awk in replacing cahrs and files
How do I use nslookup?
What is the use of sed command in unix?
Which command is used to restrict incoming messages?
What are file commands?
What does grep v grep do?
What does the md command do?
Which command should you use to find the remaining disk space in unix server?
What is used to type command?
How do I search for a file in unix command?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
What is grep in bash?