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 / soumendra
ans- cut -d " " -f 1-7 <file name>
by this u can get all the 7 rows of ur file.
here i give 'space" as the delimeter.
u give the delimeter as u give in the file.
by -f option u can exactly get the 1 to 7 field/rows
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is the comma to display different lines that are found when compare two files?
What do chgrp command do?
What is the nmap command?
What does 'mkdir' command do in UNIX?
How can you see the command line history?
Why is it called grep?
What do chmod command do?
What is the use of cut command in unix?
Explain command to view process running?
what is the advaantage of each user having its own copy of the shell?
How do I search for text in vi?
Does cp command overwrite files?
Write a command to kill the last background job?
What is pipe command in unix?
What is the command to find maximum memory taking process on the server?