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
What is the command to view process running?
What do know about tee command and its usage?
What is the command to find maximum memory taking process on the server?
Why is it called grep?
What are filter commands in unix?
Can you enlist some commonly used network commands?
Explain command to display different lines that are found when compare two files?
What is the pipe command?
How to use grep command to list find the records of a file containing 10 different strings?
hw will u use awk in replacing cahrs and files
How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?
Explain command to show the space allocation of files?
What is the use of the tee command?
What is $0 bash?
Describe the zip/unzip command using gzip.