解决mac安装homebrew后报错-bash: brew: command not found 参照官网上很简单的一句安装命令, /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 安装完毕后,发现使用brew命令,却总是提示:-bash: brew: command not found /usr/local/bin不在PATH中…
需求描述: 今天在测试环境中,准备查看mysql各个线程占用的io的情况,准备使用iotop命令来查看,发现没有这个命令 [root@testvm Packages]# iotop -bash: iotop: command not found 问题解决 1.挂载系统镜像,找到iotop的rpm包,然后进行安装 [root@testvm Packages]# iotop -bash: iotop: command not found [root@testvm Packages]# ls -l i…