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
Is it inbetween or in between?
What is the significance of the 'tee' command?
Name the unix command to find how many days the server has been up.
Which unix command to make a new directory?
What are the differences among a system call, a library function, and a unix command?
How many unix commands are there?
What is time_t?
What are file commands?
what is the advaantage of each user having its own copy of the shell?
Enumerate some of the most commonly used network commands in unix?
What is the comma to display different lines that are found when compare two files?
how to sort the content of the file based on numeric values
What is the use of tee command?
What do know about tee command?
What command is used to switching between users in unix?