A file has 1000 lines and i want to display only 1st line
how to do it?
pls ..tel me
Answer Posted / sandip01
sed -n '1p' or head -1
Is This Answer Correct ? | 31 Yes | 0 No |
Post New Answer View All Answers
What does this command do? Cat food 1 > kitty
What are grep patterns?
What will the following command do?
What is the use of finger command?
Name the various commands that are used for the user information in unix.
What is the difference between cat command and more command?
What does #!/ Bin sh do?
What is the comma to show the space allocation of files?
How do you grep a case insensitive?
why metadb requires a seperate slice to create Solaris volume manager
Is it inbetween or in between?
What are the general commands in using unix os for a beginner?
What is the difference between grep and grep?
What is command substitution?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.