This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| The syntax of sed command replacement is: | |
| $ sed 's/find/replace/' file | |
| This 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 |