Linux命令—echo

echo>+已存在文件名

  清空原文件内容,并写入新内容;

echo>>+已存在文件名

  在文件末尾追加内容;

posted @ 2016-01-28 14:43  sophie0705  阅读(79)  评论(0编辑  收藏  举报