in a growing log file how will you see the 1st 99 lines?

Answer Posted / dinesh babu

sed -n '1,99p' filename

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does pipe () work?

579


What does the command '$ls | wc –l > file1' do?

665


What is the use of sed command in unix?

582


Is it inbetween or in between?

567


How does shebang work?

580






What does pipe () return?

581


How do I use grep to search for a file?

569


What is the pipe command?

564


What is {} in find command?

567


Name the unix command to find how many days the server has been up.

583


What are the differences among a system call, a library function, and a unix command?

555


Who invented grep?

635


What does grep v do?

547


How do I search for a file in unix command?

537


How do I use grep to find a file?

564