mac 相关终端命令

电池健康程度检测终端命令:
|
查看
|
切换 bash
要在macOS上更改用户帐户的默认外壳,只需chsh -s在“终端”窗口中运行(更改外壳)命令。
通过运行以下命令将默认Shell更改为Bash:
chsh -s / bin / bash
切换 zsh
通过运行以下命令,将默认shell更改回Zsh:
chsh -s / bin / zsh
出现提示时输入密码。关闭终端窗口并重新打开它之后,您将使用Zsh。
终端前缀修改
|
- Post title:mac 相关终端命令
- Post author:ChenghuiBai
- Create time:2018-01-13 10:41:58
- Post link:https://baichenghui.github.io/2018/01/13/mac 相关终端命令/
- Copyright Notice:All articles in this blog are licensed under BY-NC-SA unless stating additionally.