Mac Cheats
Table of Contents generated with DocToc
- Brew
- Disable apple security that prevents packages by unidentified developers from being opened (tested on macOS Sierra)
- Utilities
layout: post title: βMacOS cheatsβ teaser: Cheat sheet for MacOS date: 2016-09-27 22:11:26 +0000 categories: cheat-sheets tags: cheat-sheets β
Brew
List installed brew packages
brew list
Uninstall a package installed via brew
brew uninstall <package_name>
List services
$ brew services list
Name Status User Plist
redis started anuragkapur /Users/anuragkapur/Library/LaunchAgents/homebrew.mxcl.redis.plist
Disable apple security that prevents packages by unidentified developers from being opened (tested on macOS Sierra)
$ sudo spctl --master-disable
$ sudo spctl --master-enable
Utilities
Find process using a specific port
$ sudo lsof -i tcp:8080