A file has 1000 lines and i want to display only 1st line
how to do it?
pls ..tel me
Answer Posted / namdeo patil
head -n 1 filename
| Is This Answer Correct ? | 8 Yes | 2 No |
Post New Answer View All Answers
Who command in unix operating system?
Which command will print your home directory on screen?
What is the use of finger command?
How do I search a whole word in vim?
What is the search command in unix?
How many unix commands are there?
Explain command to show the space allocation of files?
What will the following command do?
What is a bash command?
What are the general commands in using unix os for a beginner?
How do I run a whois command?
How do I search for text in vi?
What is the use of sed command in unix?
What is the use of tee command?
How can we use grep command in unix?