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 / anandthks
head -7 <filename>| tail -1
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the general commands in using unix os for a beginner?
Which command is used to copy files?
What are the commands in UNIX to list the files in a Directory?
Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?
What is the use of tee command?
What is time_t?
Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?
Enlist some filename manipulation commands in unix.
Explain command to show the space allocation of files?
How do I delete files from command prompt?
What command is used to check the current users?
How to use grep command to list find the records of a file containing 10 different strings?
What is ‘ps’ command for?
Explain ‘system calls’ with respect to unix commands?
What is the first character of the output in ls l command?