A file has 1000 lines and i want to display only 1st line
how to do it?
pls ..tel me
Answer Posted / eswar
head -n 1 filename
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?
Who wrote grep?
Name the various commands that are used for the user information in unix.
What is rmdir command?
Are you in or at the office?
When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system.
How can i findthe right soluion???
My pgm:
#include
What do chmod command do?
What does touch command do in unix?
What is the use of awk command in unix?
Using unix command how to display no of records in oracle?
What is the use of cut command in unix?
How can we use grep command in unix?
Is grep faster than awk?
What is merge command in unix?
What is the general format of unix command syntax?