echo 'I have the power'echo $HOMEecho 'some text' >> myfile.txt # 在文件中append一行echo 'some text' > myfile.txt # 覆盖文件中所有的内容