1.隐藏Mac下隐藏文件:defaults write com.apple.finder AppleShowAllFiles -bool false
2.显示Mac下隐藏文件:defaults write com.apple.finder AppleShowAllFiles -bool true
3.查看端口占用情况:lsof -i tcp:port
4.杀死进程: kill -9 proid
1.隐藏Mac下隐藏文件:defaults write com.apple.finder AppleShowAllFiles -bool false
2.显示Mac下隐藏文件:defaults write com.apple.finder AppleShowAllFiles -bool true
3.查看端口占用情况:lsof -i tcp:port
4.杀死进程: kill -9 proid