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 / isha
Put the command in Present working dir
head -7 <filename>
| Is This Answer Correct ? | 16 Yes | 10 No |
Post New Answer View All Answers
What is the command to compare two files in unix?
How do I run a bash script?
What are reported commands?
What does the “echo” command do?
Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?
What is a bash command?
What is the comma to show the space allocation of files?
Using unix command how to display no of records in oracle?
Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?
How do I use grep to search for a file?
Who invented grep?
What are awk commands?
Which command can you use to find the currently running process in unix server?
What are the general commands in using unix os for a beginner?
What does 'mkdir' command do in UNIX?