1 view

Try this, open the file using vim and directly jumping to the line you want to edit

For a pattern,

vim +/MYLINE config.properties
# where MYLINE is the pattern you want to go

For a line number,

vim +50 config.properties
# where 50 is the line number you want to go
Welcome to Ask DevOps!
You can find quick one line answers to popular DevOps, Amazon AWS, Microsoft Azure, Google cloud services, tools & basic to advanced Linux questions!
DevOps Tools list