Check The Process Using Port In ~/.zshrc, put the following: pidportfunction() { lsof -n -i4TCP:$1 | grep LISTEN } alias pidport=pidportfunction Usage: pidport 9994 Check the machine IP address In ~/.zshrc, put the following: alias whereami="ipconfig getifaddr en0" Usage: whereami