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 i'll delete a particular line from the file? Please give
answer as soon as possible. Thanks in advance.

Answer Posted / sathish kumar p

sed '3d' file name

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the commands in UNIX to list the files in a Directory?

1191


What are awk commands?

1163


Which command should you use to find the remaining disk space in unix server?

1315


What does this command do,"$more readme.txt“?

1161


Differentiate cmp command from diff command.

1175


Give the command for finding the current date.

1118


What is the use of find command in unix?

1157


How do you repeat a command in terminal?

1230


What is the functionality of a top command?

1114


What command will change your prompt to myprompt?

1332


Does cp command overwrite files?

1209


How can you see the command line history?

1143


How do I run a whois command?

1156


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:

2273


Who command in unix?

1147