Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / chandrani

head -8 <file name>

Is This Answer Correct ?    9 Yes 84 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the size of time_t?

1208


Differentiate cat command from more command.

1148


Why is it called grep?

1026


Enlist some filename manipulation commands in unix.

1159


Who invented grep?

1158


Who command in unix?

1139


What are some command words?

1137


How do I delete files from command prompt?

1220


How do I search for a file in unix command?

1019


Is ‘du’ a command? If so, what is its use?

1146


What is the function of grep command in unix?

1181


What is the comma to show the space allocation of files?

1085


What is the nmap command?

1179


What is the significance of the 'tee' command?

1196


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:

2265