每日常用命令备注

Posted by 范东 on September 1, 2017

Mac常用命令

显示/隐藏 隐藏文件

显示:defaults write com.apple.finder AppleShowAllFiles -bool true
隐藏:defaults write com.apple.finder AppleShowAllFiles -bool false 

MySQL常用语句

更新表

UPDATE tableName SET name = 'newName' WHERE id = '1'