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
Which unix command lists files/folders in alphabetical order?
What is awk good for?
Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?
What do know about tee command?
What are awk commands?
What does this command do? Cat food 1 > kitty
What is the use of find command in unix?
What is the comma to display different lines that are found when compare two files?
How to find $ai_serual resolved path by using unix
What is unix command?
Are you in or at the office?
what is the advaantage of each user having its own copy of the shell?
Enlist some filename manipulation commands in unix.
Explain command to view process running?
Which command is used to create a directory?