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

Answer Posted / anandthks

head -99 <filename> will give 1st 99 lines

Is This Answer Correct ?    12 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the command to find maximum memory taking process on the server?

651


How do I clear my terminal history?

561


How does shebang work?

574


What is the first character of the output in ls l command?

604


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)?

919






Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.

597


How do you repeat a command in terminal?

570


What is ‘ps’ command for?

583


Which command can you use to find the currently running process in unix server?

568


Differentiate cmp command from diff command.

566


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

576


Is it inbetween or in between?

559


What are grep patterns?

561


What is rmdir command?

532


How do I use grep to find a file?

557