[root@localhost ftp]# > 1.txt [root@localhost ftp]# sed -i '$a\33\n444' 1.txt [root@localhost ftp]# cat 1.txt
sed -i '$a\33\n444' 1.txt