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
Explain the steps that a shell follows while processing a command.
What is a command and examples?
How to use grep command to list find the records of a file containing 10 different strings?
Describe the usage and functionality of the command rm –r * in unix?
What is grep in bash?
What is the search command in unix?
What is s and g in sed command?
What are reported commands?
What is awk used for?
What does this command do? Cat food 1 > kitty
Write a command that will display files in the current directory, in a colored, long format.
Which command is used to copy files?
Which unix command lists files/folders in alphabetical order?
Which command is used to restrict incoming messages?
Is it inbetween or in between?