Sed insert line at end of file code example Example: sed add word to end of line sed 's/.*/&:80/' abcd.txt >abcde.txt