A file has 1000 lines and i want to display only 1st line
how to do it?
pls ..tel me
Answer Posted / siddharth
cat fileName | head -n 1
| Is This Answer Correct ? | 13 Yes | 1 No |
Post New Answer View All Answers
What is ‘ps’ command for?
What is grep r?
What do chown command do?
What do chgrp command do?
What command is used to switching between users in unix?
What is the use of sed command in unix?
What is the difference between awk and grep?
Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?
What is rmdir command?
What are filter commands in unix?
What is {} in find command?
How to display no of records in oracle using unix command?
What is the search command in unix?
How to find $ai_serual resolved path by using unix
How do you repeat a command in terminal?