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 the difference between awk and grep?
The rm command removes links to file. What does this mean? How then is a file deleted from the file system?
What is the difference between pipe and xargs?
How can we use grep command in unix?
How do you find out all processes that are currently running in UNIX OS?
What is the use of touch command in there?
what is exact definition of operating system?
How do I find previous commands in unix?
fork in unix ?
What does touch command do in unix?
What is file system in unix??
describe the escaping sequence characteres in unix