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

how to find the 51th record of a file containing 100 records
in unix.

Answer Posted / raj

sed '51p' filename

Is This Answer Correct ?    0 Yes 1 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:

2228


Enlist some filename manipulation commands in unix.

1119


What is pipe command in unix?

1259


Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?

1177


What is the difference between awk and grep?

1183


Why is shebang used?

1074


What is difference between grep and find command in unix?

1169


Is it inbetween or in between?

1018


How do I use nslookup?

1067


What is the use of egrep command in unix?

1146


What is the comma to display different lines that are found when compare two files?

1118


What does #!/ Bin sh do?

1041


How do I search for a file in unix command?

992


How does shebang work?

1038


What is s and g in sed command?

1080