【发布时间】:2018-09-16 10:07:00
【问题描述】:
我是通过 brew apache2 (brew install apache2) 安装的,但后来卸载了它 (brew uninstall apache2) 但现在命令 apachectl 仍然存在。我该如何摆脱它?
【问题讨论】:
标签: macos apache command-prompt uninstallation
我是通过 brew apache2 (brew install apache2) 安装的,但后来卸载了它 (brew uninstall apache2) 但现在命令 apachectl 仍然存在。我该如何摆脱它?
【问题讨论】:
标签: macos apache command-prompt uninstallation
Apple 提供了一个 apachectl 二进制文件作为 macOS 的一部分,所以我怀疑你看到的就是那个 - 我当然不建议你删除它。
要检查,请在终端中运行:
type apachectl
apachectl is /usr/sbin/apachectl
如果您像我在上面所做的那样在/usr/sbin 中获得了那个,那就是Apple 提供的那个。别管它。
如果您有其他问题,请点击答案下方的edit 并使用新信息更新问题。
【讨论】: