Linux/Unix Operating Systems Commands and Shell Scripting
Casual Mode - Take your time!
1 / 20
Correct
0
Incorrect
0
Score
0%
Multiple Choice
In vi if we want to replace any string e.g. "NAME" with "name" from line number 1 to 10 only, what command we can use?
- :%s/NAME/name/
- :1-10s/NAME/name/
- :1,10s/NAME/name/
- :s/NAME/name/