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

Answer Posted / anshul basra

$ head -99 <filename> will show first 99lines of that file.

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the commands in UNIX to list the files in a Directory?

604


What does the “echo” command do?

614


How can you see the command line history?

578


Which unix command lists files/folders in alphabetical order?

608


How to find $ai_serual resolved path by using unix

1018






How do I run a bash script?

572


Explain mount and unmount command.

605


How do I run a whois command?

588


What will the following command do?

605


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

661


Which command is used to find whether the system is 32 bit or 64 bit?

619


Which command is used to delete all files in the current directory and all its sub-directories?

654


What is the pipe command?

564


What do chmod, chown, chgrp commands do?

624


Which command is used to restrict incoming messages?

580