将this is a test line添加至第7行

sed -i '7a\this is a test line' test.conf