阅读背景:

如何使用bash在文件中间添加一行文本?

来源:互联网 

I'm trying to add a line of text to the middle of a text file in a bash script. Specifically I'm trying add a nameserver to my /etc/resolv.conf file. As it stands, resolv.conf looks like this:I'm trying to add a line of text to the middle




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: