A file has 1000 lines and i want to display only 1st line
how to do it?
pls ..tel me
Answer Posted / eswar
head -n 1 filename
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the use of egrep command in unix?
Which command is used to find whether the system is 32 bit or 64 bit?
What do chmod, chown, chgrp commands do?
How do I search for a file in unix command?
What are the general commands in using unix os for a beginner?
Why is shebang used?
What does this command do,"$more readme.txt“?
What is grep in bash?
Describe the zip/unzip command using gzip.
How can we use grep command in unix?
What is merge command in unix?
Name the general commands in using unix os for a beginner?
What is the pipe command?
What is command substitution?
What is command statement?