check free memory in FreeBSD

In case you’re coming from Linux world to FreeBSD first of all: Welcome! You might miss some commands, like free. Here is a very short tutorial for that. fetch https://raw.githubusercontent.com/ocochard/myscripts/master/FreeBSD/freebsd-memory.sh sh freebsd-memory.sh Then of course […]

while loop in csh

This made my day, while loop in one line -one liner- under csh printf “while ( 1 ) \n df -m \n echo ‘remaining space’ \n  sleep 60 \n end” | csh -f  Of course, you could […]

Bandwidth limiting on OS-X [Yosemite, El Capitan or *BSD]

Since Yosemite OS-X is not using ipfw but pf. So if you’re using those ipfw commands to limit your bandwidth, well… they won’t work. You’ll have to learn and implement some pf rules. The usage of […]

RegexOne

If you have dealt with regular expression then you know that it takes a while to get a good grasp on it. If you are just learning it here is an amazing tutorial: http://regexone.com. Enjoy 😉

Microsoft Funds OpenBSD

Yaay! The Microsoft corporation has become OpenBSD’s first “Gold Level” sponsor after a large donation. (Facebook and Google are both silver contributors). The move is likely related to Microsoft’s use of OpenSSH in future versions […]

Explaining BSD by Greg Lehey 

A great article from Greg Lehey about explaining BSD: https://www.freebsd.org/doc/en_US.ISO8859-1/articles/explaining-bsd/index.html