How would you change all occurrences of a value using VI?
Answer Posted / chitra
One should be in command mode for doing this.(i.e press esc)
:%s/oldpattern/newpattern and press enter
| Is This Answer Correct ? | 3 Yes | 4 No |
Post New Answer View All Answers
What are some command words?
Can you explain a little bit about command substitution?
How many unix commands are there?
What does sed command do in unix?
What command is used to switching between users in unix?
What is the nmap command?
What are the differences among a system call, a library function, and a unix command?
What does the “echo” command do?
How do I use grep to find a file?
Explain the steps that a shell follows while processing a command.
How can we use grep command in unix?
Explain command to view process running?
What does grep v do?
Enlist some filename manipulation commands in unix.
What is unix command?