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 is difference between grep and find command in unix?
Name the various commands that are used for the user information in unix.
What is the difference between awk and grep?
What is the nmap command?
How can we use grep command in unix?
What is the difference between grep and grep?
Differentiate cat command from more command.
What is sed awk grep?
How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?
What is updatedb?
What is the difference between cat and more command?
What is the unix command to confirm a remote host is alive or not?
Why is it called grep?
What are the general commands in using unix os for a beginner?
Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?