使用vi替换文件中的值


0

我有一个文件,其中包含多个条目,如“allowed_users 100”,“allowed_hits 100”,“allowed_users 10000”。

想要将“allowed_users 100”的值替换为“allowed_users 1000”。

最好的祝愿, KJ。

Answers:


By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.