cmp.is

Topics: Unix


2017

How to get your local ip in OS X from terminal ifconfig | grep -Eo 'inet (addr:)?([0-9]*\.){3}[0-9]*' | grep -Eo '([0-9]*\.){3}[0-9]*' | grep -v '127.0.0.1'

2016

Find ports in use lsof -n -i:8000 | grep LISTEN
Force Zsh File Redirection echo text >! overwrite.file

2014

git aliases