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
What is the use of the tee command?
What does the command ' $who | sort –logfile > newfile' do?
How does the system know where one command ends and another begins?
What does find command return in unix?
What is the search command in unix?
How does shebang work?
How do I use grep to find a file?
What does the “echo” command do?
What is the nmap command?
How do I search a whole word in vim?
Write a command to display a file’s contents in various formats?
What do know about tee command and its usage?
Why is grep called grep?
What is the difference between grep and grep?
What is ctrl d?