将shell的信息写入到文件中: > 符号表示将信息写入到文件中>> 符号表示在已有的文件中添加信息 扩展阅读: http://blog.youkuaiyun.com/embeddedman/article/details/7253866