In this blog, we are going to show you how you can use the GNU sed command to edit the first matching line of a pattern only. In other words, we will match the first occurrence only with sed on the Linux command line. The example we use will be replacing the first time server […]