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...

If we want to see first 35 lines of a file which command we
have to use?

Answer Posted / siri

sed -n '1,35p' filename;
head -35 filename;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to use grep command to list find the records of a file containing 10 different strings?

1118


What is the search command in unix?

1080


What is the behavioural difference between cmp and diff commands?

1271


What is in grep command?

1157


How do I search for text in vi?

1033


How many unix commands are there?

1142


Is it inbetween or in between?

1038


Can you explain a little bit about command substitution?

1110


What is $0 bash?

1197


Who invented grep?

1153


Who command in unix?

1127


What does the metacharacter mean?

1123


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:

2256


What is time_t?

1099


What is the general format of unix command syntax?

1907