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
Using unix command how to display no of records in oracle?
Are you in or at the office?
Describe the zip/unzip command using gzip.
What is .sh file?
What is the command to compare two files in unix?
What difference between cmp and diff commands?
What is a bash command?
Name the various commands that are used for the user information in unix.
What does touch command do in unix?
What does the command '$ls | wc –l > file1' do?
What does pipe () return?
Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?
How does shebang work?
Name the general commands in using unix os for a beginner?
What is awk used for?