A file has 1000 lines and i want to display only 1st line
how to do it?
pls ..tel me
Answer Posted / namdeo patil
head -n 1 filename
| Is This Answer Correct ? | 8 Yes | 2 No |
Post New Answer View All Answers
What is sed awk grep?
Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?
Explain mount and unmount command.
What is $0 bash?
What are bash commands?
Which command is used to delete all files in the current directory and all its sub-directories?
What is used to type command?
What is the pipe command?
Can you explain a little bit about command substitution?
Which command can you use to find the currently running process in unix server?
What will the following command do?
What is the function of grep command in unix?
Explain ‘system calls’ with respect to unix commands?
Why is it called a shebang?
How can you see the command line history?