$ sed 's/find/replace/' fileThis sed command finds the pattern and replaces with another pattern. When the replace is left empty, the pattern/element found gets deleted.
Let us consider a sample file as below:
$ cat file Linux Solaris Ubuntu Fedora RedHat