If we want to see first 35 lines of a file which command we
have to use?
Answer Posted / pitambar mishra
head -35 filename
awk 'NR<=35 {print}' filename
sed '35 q' filename
sed -n '1,35 p' filename
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Enlist some filename manipulation commands in unix.
How do you grep recursively?
What is awk used for?
Can you explain a little bit about command substitution?
What is the significance of the 'tee' command?
Does cp command overwrite files?
Which command can you use to find the currently running process in unix server?
What does the command '$ls | wc –l > file1' do?
Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?
What is pipe command in unix?
hw will u use awk in replacing cahrs and files
What is sed awk grep?
How does the system know where one command ends and another begins?
What is unix command?
What is used to type command?