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
How can we use grep command in unix?
What is the use of the command 'ls -x chapter[1-5]' ?
Name the unix command to find how many days the server has been up.
What does this command do? Cat food 1 > kitty
How can you see the command line history?
What are filter commands in unix?
What is grep and how do you use it?
What are awk commands?
What does find command return in unix?
How do I search for text in vi?
How to use grep command to list find the records of a file containing 10 different strings?
Write a command to display a file’s contents in various formats?
Is grep faster than awk?
What is the use of tee command?
hw will u use awk in replacing cahrs and files