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
How does the system know where one command ends and another begins?
What are the differences among a system call, a library function, and a unix command?
How do I run a whois command?
What is ‘ps’ command for?
What do chown command do?
What is the command to find hidden files in the current directory?
Which command is used to kill the last background job?
Which command is used to find whether the system is 32 bit or 64 bit?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
How do I run a bash script?
What does grep v grep do?
What is the size of time_t?
Which command is used to delete all files in the current directory and all its sub-directories?
How can we use grep command in unix?
What is the difference between cat command and more command?