A file has 1000 lines and i want to display only 1st line
how to do it?
pls ..tel me
Answer Posted / sandip01
sed -n '1p' or head -1
| Is This Answer Correct ? | 31 Yes | 0 No |
Post New Answer View All Answers
What is pipe command in unix?
What is command statement?
What is time_t?
Who invented grep?
How do I search a whole word in vim?
What does the metacharacter mean?
Why is it called grep?
How do I use grep to search for a file?
What is a bash command?
Enlist some filename manipulation commands in unix.
Who command in unix?
What is grep command in unix with examples?
What do chown command do?
What does find command return in unix?
How do I clear my terminal history?