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
Enumerate some of the most commonly used network commands in unix?
How to display no of records in oracle using unix command?
What does the command '$ls | wc –l > file1' do?
How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?
How do I search for a file in unix command?
What is the difference between cat command and more command?
How do I use grep to search for a file?
What is the functionality of a top command?
What will the following command do?
Explain the steps that a shell follows while processing a command.
Can you explain a little bit about command substitution?
How do I find previous commands in unix?
Explain mount and unmount command.
What does grep v grep do?
Which command is used to find whether the system is 32 bit or 64 bit?