在linux命令行下如何将指定的几行内容写入到一个文件中?

如题所述

第1个回答  2012-10-14
echo -ne "line1\nline2\nline3\n" > file
line1 line2 line3 是行内容。
相似回答