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
How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?
Can you explain a little bit about command substitution?
Is it inbetween or in between?
Explain command to display different lines that are found when compare two files?
How does shebang work?
What are grep patterns?
What does 'mkdir' command do in UNIX?
What is sed awk grep?
What does this command do? Cat food 1 > kitty
Why is awk called awk?
What do chgrp command do?
What is used to type command?
What is awk good for?
Differentiate cat command from more command.
How do I find previous commands in unix?