Find and replace in shell scripting

前端 未结 7 2101
暖寄归人
暖寄归人 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.

    0 讨论(0)
提交回复
热议问题