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 do know about tee command?
What does grep v do?
Does cp command overwrite files?
How to find $ai_serual resolved path by using unix
What is the search command in unix?
Is grep faster than awk?
What does the command '$ls | wc –l > file1' do?
What are the dos commands?
What is the comma to show the space allocation of files?
What is the command to compare two files in unix?
How can you see the command line history?
What is grep and how do you use it?
What is the behavioural difference between cmp and diff commands?
What are the general commands in using unix os for a beginner?
Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?