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 […]

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

A Good Deed

FreeBSD Foundation Announces Generous Donation and Fundraising Milestone The FreeBSD Foundation is pleased to announce it has received a $1,000,000 donation from Jan Koum, CEO and Co-Founder of WhatsApp. This marks the largest single donation […]

A little bit of nginx

Took me a moment to find out how to redirect a URL if the URL contains a certain word, in Nginx, here it is: location ~ \.xml$ { rewrite ^(.*)$ http://urltoberedirected.com/$1; proxy_set_header X-Real-IP $remote_addr; proxy_set_header […]