lineinfileだと難しいと思いますので、sedを使います。
command
command: sed -i "s/FQDN/hoge.com/g" ~/hoge.txt
Go to list of users who liked
More than 5 years have passed since last update.
lineinfileだと難しいと思いますので、sedを使います。
command: sed -i "s/FQDN/hoge.com/g" ~/hoge.txt
Register as a new user and use Qiita more conveniently
Go to list of users who liked