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 / prasad
hi isha,
this is prasad, head command displays first n lines from
the file
head -7 <filename> it displays first 7 lines, i want exact
7 line.
thanku for send this question isha.
| Is This Answer Correct ? | 7 Yes | 4 No |
Post New Answer View All Answers
What are reported commands?
What are the dos commands?
What is the difference between awk and grep?
Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?
How do I delete files from command prompt?
What does the command ' $who | sort –logfile > newfile' do?
What is unix command?
What is merge command in unix?
How do I run a whois command?
Explain command to show the space allocation of files?
How many unix commands are there?
What's a command word?
How do I find previous commands in unix?
Why is it called grep?
What difference between cmp and diff commands?