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 / ravikishore

cat <f.n> | tail -8

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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:

2229


What does grep v do?

1019


Which unix command lists files/folders in alphabetical order?

1705


Describe the usage and functionality of the command rm –r * in unix?

2030


Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?

1365


Explain command to show the space allocation of files?

1100


Why is shebang used?

1074


What is sed awk grep?

1091


What is in grep command?

1138


What is a command and examples?

1180


Why is grep called grep?

1251


Is command prompt unix?

1110


Name the general commands in using unix os for a beginner?

1115


What is the use of cut command in unix?

1323


How do I clear my terminal history?

1117