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 does grep v grep do?
What is difference between grep and find command in unix?
Differentiate cmp command from diff command.
Why is awk called awk?
What is rmdir command?
Is command prompt unix?
What is sed awk grep?
What's a command word?
Can you enlist some commonly used network commands?
What is the significance of the 'tee' command?
What do know about tee command?
What is the use of find command in unix?
What will the following command do?
What is a bash command?
What is the use of the command 'ls -x chapter[1-5]' ?