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?
How can we use grep command in unix?
What difference between cmp and diff commands?
Write a command that will display files in the current directory, in a colored, long format.
What does awk stand for?
What is s and g in sed command?
What is the command to find hidden files in the current directory?
What is “chmod” command?
How does shebang work?
What is the use of sed command in unix?
What is the difference between awk and grep?
What does pipe () return?
Which command is used to create a directory?
What command is used to check the current users?
How to find $ai_serual resolved path by using unix