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
What is the function of grep command in unix?
Who command in unix?
What is the behavioural difference between cmp and diff commands?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
What is the use of find command in unix?
What does #!/ Bin sh do?
Explain mount and unmount command.
What are filter commands in unix?
What are the dos commands?
Enlist some filename manipulation commands in unix.
How can you see the command line history?
What command is used to switching between users in unix?
Write a command to kill the last background job?
What does pipe () return?
What will the following command do?