Install sed by entering the following commands in the terminal:
sudo apt update sudo apt install sed
Description:
GNU stream editor for filtering/transforming text
sed reads the specified files or the standard input if no files are specified, makes editing changes according to a list of commands, and writes the results to the standard output.
Homepage: https://www.gnu.org/software/sed/
Version: 4.4-2
Section: utils