命令:history 字面的意思是:历史 用法1:history 查询历史命令 用法2:history -c 清空历史命令 用法3:history -w 把缓存中的历史命令写进历史命令保存文件(~/.bash_history)