How to Find and Replace Text using sed Command in Linux

In this post i will show to to find and replace text using sed command. We take /etc/host file as an example. We will replace any text “” to “linodelinux.local” in /etc/hosts # cat /etc/hosts localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 Just issue this command […]

Read More