what is the command to print last 8 lines of any text file.

Answer Posted / deeps

tail -8f filename

Is This Answer Correct ?    14 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which unix command to make a new directory?

598


What is the pipe command?

593


What are awk commands?

590


What does find command return in unix?

608


Which command is used to kill the last background job?

791






How to find $ai_serual resolved path by using unix

1041


What is the use of find command in unix?

592


Explain ‘library functions’ with respect to unix commands?

612


What command will change your prompt to myprompt?

710


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:

1773


What are file commands?

663


How do I search for text in vi?

597


Which command is used to create a directory?

582


How do I clear my terminal history?

593


What do chgrp command do?

604