A file has 1000 lines and i want to display only 1st line
how to do it?
pls ..tel me
Answer Posted / siddharth
cat fileName | head -n 1
| Is This Answer Correct ? | 13 Yes | 1 No |
Post New Answer View All Answers
Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?
What does touch command do in unix?
Give the command for finding the current date.
What is the use of the command 'ls -x chapter[1-5]' ?
What is awk command used for?
What is grep short for?
What is grep and how do you use it?
What is the difference between grep and grep?
What command is used to switching between users in unix?
What's a command word?
How do I search for text in vi?
What do chgrp command do?
Describe the zip/unzip command using gzip.
How do you grep a case insensitive?
What does 'mkdir' command do in UNIX?