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

Answer Posted / sonali

head -99 <file name> - display 1 st 99 lines
tail -99 <file name> - display last 99 lines

Is This Answer Correct ?    20 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

664


What do know about tee command?

590


What does this command do,"$more readme.txt“?

672


Who wrote grep?

568


What is the use of tee command?

555






What command is used to check the current users?

576


Write a command to kill the last background job?

602


What is the significance of the 'tee' command?

587


What is grep short for?

537


What is the nmap command?

564


Differentiate cmp command from diff command.

576


What are some command words?

547


Is it inbetween or in between?

567


What is merge command in unix?

929


What are awk commands?

568