sed ‘96,$d’ -i .bash_history 删除从第96行(包括第96行)到文件末尾的所有行

    history -r 更新一下