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 / murthy
Hi,
Try with the below command
sed -n '7p' <file name>
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What does the command ' $who | sort –logfile > newfile' do?
What is the difference between cat command and more command?
How do you repeat a command in terminal?
What is the use of the command 'ls -x chapter[1-5]' ?
What is the first character of the output in ls l command?
What is the use of sed command in unix?
Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?
What does pipe () return?
Which command will print your home directory on screen?
What are file commands?
How to display no of records in oracle using unix command?
What is “chmod” command?
Are you in or at the office?
What does awk stand for?
What is awk used for?