Command line Fu

Log devices on your network

Fing logger (finglogger.sh): #!/bin/sh FING_LOG_FILE=/path/to/fing.log # append current public ip echo `date +”%Y/%m/%d %T”`”;publicip;”`curl -s ipecho.net/plain`”;;;” >> $FING_LOG_FILE # append current fing output /usr/bin/fing -r1 -o log,csv,$FING_LOG_FILE,1000 –silent Add to cron (run every hour): 0 * * * * /path/to/finglogger.sh

Log devices on your network Read More »

Running Ubuntu on Mac with Vagrant

Vagrant is cool: Vagrant provides easy to configure, reproducible, and portable work environments built on top of industry-standard technology and controlled by a single consistent workflow to help maximize the productivity and flexibility of you and your team. Furthermore: Vagrant stands on the shoulders of giants. Machines are provisioned on top of VirtualBox, VMware, AWS,

Running Ubuntu on Mac with Vagrant Read More »

Poor man’s wget

The command wget is useful, but unfortunately doesn’t come preinstalled with Mac. Yeah, you can install it of course, but if you’re doing it from source, the process has a few steps to satisfy all the dependencies; start by configure make‘ing the wget source and work your was backwards until ./configure runs for your wget

Poor man’s wget Read More »