Find and replace in shell scripting

前端 未结 7 2120
暖寄归人
暖寄归人 2021-02-01 09:20

Is it possible to search in a file using shell and then replace a value? When I install a service I would like to be able to search out a variable in a config file and then repl

7条回答
  •  鱼传尺愫
    2021-02-01 10:22

    Look at the UNIX power tools awk, sed, grep and in-place edit of files with Perl.

提交回复
热议问题