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

Answer Posted / dibya lochan giri

to see the last 99 lines in a log file you can use the cmd
$ tail -99f <file name>

Is This Answer Correct ?    9 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are file commands?

637


What does sed command do in unix?

541


Is grep faster than awk?

539


What happens when we execute a unix command?

582


What does 'mkdir' command do in UNIX?

632






Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?

920


What is merge command in unix?

924


What is a command and examples?

554


What are filter commands in unix?

535


What does pipe () return?

574


How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?

739


Can you explain a little bit about command substitution?

570


Does cp command overwrite files?

603


What is nr in awk command?

579


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

544