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

Explain the steps that a shell follows while processing a command.

681


How do I open a port?

589


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

643


Who wrote grep?

577


What is a command and examples?

577






how to sort the content of the file based on numeric values

1247


What does the “echo” command do?

624


Are you in or at the office?

609


What is grep and how do you use it?

571


How do I use nslookup?

571


What command is used to check the current users?

592


Can you explain a little bit about command substitution?

606


What is unix command?

579


What does the md command do?

568


Differentiate cat command from more command.

574