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 is ctrl d?
How do I open a port?
Differentiate cmp command from diff command.
What is the command to find maximum memory taking process on the server?
Explain command to view process running?
Write a command to display a file’s contents in various formats?
What are the commands in UNIX to list the files in a Directory?
How do I use grep to find a file?
What is $0 bash?
What is grep r?
What does find command return in unix?
Name the general commands in using unix os for a beginner?
What is a command and examples?
Which command is used to restrict incoming messages?
What's a command word?