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
Explain the steps that a shell follows while processing a command.
How do I open a port?
How to use grep command to list find the records of a file containing 10 different strings?
Who wrote grep?
What is a command and examples?
how to sort the content of the file based on numeric values
What does the “echo” command do?
Are you in or at the office?
What is grep and how do you use it?
How do I use nslookup?
What command is used to check the current users?
Can you explain a little bit about command substitution?
What is unix command?
What does the md command do?
Differentiate cat command from more command.