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
Which command is used to copy files?
What is the general format of unix command syntax?
What is awk good for?
What is the use of cut command in unix?
What is the command to view process running?
how to sort the content of the file based on numeric values
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
What is ‘ps’ command for?
What do chmod command do?
How many unix commands are there?
What is sed awk grep?
Which command can you use to find the currently running process in unix server?
What is the difference between cat command and more command?
What is the use of sed command in unix?
What command will change your prompt to myprompt?