The Linux shell uses the sed command to add characters at the end of a line or at the beginning of a line.