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 is updatedb?

590


What is the use of egrep command in unix?

630


What is grep r?

596


What is time_t?

590


How do I open a port?

596






How do you grep recursively?

562


When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system. How can i findthe right soluion??? My pgm: #include # include int main() { int pid; pid=fork(); if(pid < 0) {exit(-1);} else if(pid==0) { printf("Child Process is Sleeping ..."); sleep(10); printf("Orphan Child's Parent ID : %u ",getppid()); } else { printf("Parent Process Completed ... %u ",getpid()); exit(0); } return 0; } Output:

1768


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

964


How do I search for text in vi?

590


Are you in or at the office?

615


What is in grep command?

652


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

674


What does the command ' $who | sort –logfile > newfile' do?

774


How do you repeat a command in terminal?

598


What does #!/ Bin sh do?

599