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
What happens when we execute a unix command?
How do I find previous commands in unix?
What is the command to view process running?
What is time_t?
Why is shebang used?
hw will u use awk in replacing cahrs and files
Which unix command lists files/folders in alphabetical order?
Write a command to kill the last background job?
What do know about tee command and its usage?
How can we use grep command in unix?
Explain the steps that a shell follows while processing a command.
What's a command word?
What is the command to find hidden files in the current directory?
How do you repeat a command in terminal?
How do I search a whole word in vim?