📚 Practice Mode
Linux/Unix Operating Systems Commands and Shell Scripting
Learn at your own pace with hints and detailed explanations
1 / 20
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/