How i'll delete a particular line from the file? Please give
answer as soon as possible. Thanks in advance.
Answer Posted / ansar
Esc dd on command prompt in vi mode.
grep -v "pattern" will also remove the line if we know the
matching pattern on that line.
Is This Answer Correct ? | 8 Yes | 11 No |
Post New Answer View All Answers
What command is used to check the current users?
Who invented grep?
Which unix command lists files/folders in alphabetical order?
What happens when we execute a unix command?
What does #!/ Bin sh do?
Is grep faster than awk?
How do I open a port?
What does this command do? Cat food 1 > kitty
What do chmod command do?
Explain command to display different lines that are found when compare two files?
Write a command to display a file’s contents in various formats?
What does pipe () return?
How do I search for text in vi?
Is it inbetween or in between?
How many unix commands are there?