在打算修改/etc/hosts文件时,用了 su vi /etc/hosts 结果显示su: Sorry 于是直接su,还是显示su: Sorry 用bing查询了下,发现mac下,获得root权限的方式,是sudo su,试了一下,果然OK。本栏目推荐文章和利时MACS6通过dat文件实现任意时间范围与测点的历史数据提取与科研分析Mac上运行windows软件-GPTKERROR 2059 (HY000): Authentication plugin 'caching_sha2_password'linux ubantu新建用户su后不显示用户名、路径等前缀问题解决方案mac M2 arm 架构模拟器运行 x86 apkVSCode快捷键(MAC版本)免费Mac M系列 ps安装包Mac 下多个文件配置 .zshrc .bashrc .bash_profile解决mac arm 中 goland 无法 debug 问题Mac M2 Java 多版本管理