摘要:
今天我们来介绍一下,在 Linux 使用 history 来减少重复命令的几个实用技巧。 1 基本原理 Linux 命令的历史记录,会持久化存储,默认位置是当前用户家目录的 .bash_history 文件。 当 Linux 系统启动一个 Shell 时,Shell 会从 .bash_history 阅读全文
摘要:
去掉mysql: [Warning] Using a password on the command line interface can be insecure. 5.7版本使用mysql执行sql命令都会有这行,去掉方法重定向 echo "select version()"|mysql -S / 阅读全文
摘要:
一般删除步骤为:先删pod再删pvc最后删pv,但是遇到pv始终处于“Terminating”状态,而且delete不掉。 # kubectl get pvc NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE data-redis-c 阅读全文