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
Why is it called a shebang?
Explain command to view process running?
What is pipe command in unix?
What is the comma to show the space allocation of files?
What is the command to compare two files in unix?
What is the search command in unix?
Which command is used to copy files?
What is the unix command to confirm a remote host is alive or not?
How can we use grep command in unix?
Explain the steps that a shell follows while processing a command.
Are you in or at the office?
Which command is used to create a directory?
What is ctrl d?
Who command in unix operating system?
What is ‘ps’ command for?