我需要在行或 URL 中替换一个单词,但我需要从命令行/终端进行。
我的意思是
$ ./myscript.sh xxx.xxx.xxx.xxx:8080/code -c code1 -t query
现在从那里开始,无需返回,我需要替换code1为mycode或其他一些字符串。
code1
mycode
command-line bash
bash ×1
command-line ×1