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

Is it inbetween or in between?

589


What is the significance of the 'tee' command?

600


Name the unix command to find how many days the server has been up.

612


Which unix command to make a new directory?

594


What are the differences among a system call, a library function, and a unix command?

571






How many unix commands are there?

632


What is time_t?

590


What are file commands?

656


what is the advaantage of each user having its own copy of the shell?

2040


Enumerate some of the most commonly used network commands in unix?

620


What is the comma to display different lines that are found when compare two files?

595


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

1257


What is the use of tee command?

573


What do know about tee command?

607


What command is used to switching between users in unix?

566