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 / yadvinder singh

First of all open the file in which u want to delete the
line by
vi filename

GO to that perticular line,
now press esc then press dd
it will delete ur whole line

then if u want to save the file
first press esc then type :wq then press enter
it will save ur file
..you can check it.

Is This Answer Correct ?    8 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which command can you use to find the currently running process in unix server?

1108


Describe the zip/unzip command using gzip.

1151


How to display no of records in oracle using unix command?

1161


What are the dos commands?

1247


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:

2255


What is the command to view process running?

1102


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

1148


What do chown command do?

1172


Who invented grep?

1152


What is the function of grep command in unix?

1169


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

1215


How do I run a bash script?

1172


What is used to type command?

1056


Explain mount and unmount command.

1206


What does grep v do?

1041