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 does 'mkdir' command do in UNIX?

662


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

608


Which command will print your home directory on screen?

546


hw will u use awk in replacing cahrs and files

2736


Does cp command overwrite files?

626






What is the search command in unix?

605


Explain ‘library functions’ with respect to unix commands?

604


Explain the steps that a shell follows while processing a command.

683


What is the use of finger command?

603


What is unix command?

584


What are bash commands?

598


What are the general commands in using unix os for a beginner?

581


What is the command to compare two files in unix?

624


How do you repeat a command in terminal?

596


Why is grep called grep?

783