linux 中 利用命令向文件的末尾添加空行
001、
(base) [root@PC1 test]# seq 3 > a.txt (base) [root@PC1 test]# cat a.txt ## 测试数据 1 2 3 (base) [root@PC1 test]# echo >> a.txt ## 末尾追加一个空行 (base) [root@PC1 test]# cat a.txt 1 2 3 (base) [root@PC1 test]# echo >> a.txt (base) [root@PC1 test]# cat a.txt 1 2 3 (base) [root@PC1 test]#