A file has 1000 lines and i want to display only 1st line
how to do it?
pls ..tel me
Answers were Sorted based on User's Feedback
Answer / raja
head -n <filename>
here n for no.of records we want.
ur quention my ans is
head -1 <filename>
| Is This Answer Correct ? | 7 Yes | 1 No |
What is rmdir command?
What is pipe command in unix?
What does pipe () return?
What are grep patterns?
What are some command words?
what is the difference between KILL and KILL -9?
5 Answers Informatica, Nutanix,
How can you copy files or directories?
What does the metacharacter mean?
distinguish between interrupts and exceptions?
Enumerate some of the most commonly used network commands in unix?
How many bits use for MAC address?
Who command in unix operating system?