Published on

Command line for mac to understand processes


See all the processes that are connected

sof -i | grep -E "(LISTEN|ESTABLISHED)" | awk '{print $1, $8, $9}'

sudo ifconfig en0  ether ca:ce:a0:5e:83:9c

openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//'

sudo ifconfig en1  ether 3e:56:ce:37:fb:02

sudo dscl . -list /Groups GroupMembership

Display deep sleep cmd

pmset displaysleepnow.

How do you track TCP traffic?

netstat , tcpdump