Archive for the 'Howto' Category

Linux: /etc/nslcd.conf gets re-written and LDAP stops working

Thursday, August 15th, 2013

Googlefood. Not interesting to most people.


OpenLDAP 2.4: Adding overlays

Sunday, June 2nd, 2013

Mostly googlefood, since I spent way too long looking for this.


How to find which linux distribution you are running from a shell script

Friday, June 10th, 2011

sed -n -e ‘s/ *(.*)//g’ -e ‘s/ /-/g’ -e ‘1p’ /etc/issue


nethead2:$ sed -n -e 's/ *(.*)//g' -e 's/ /-/g' -e '1p' /etc/issue

dhollowa-106$ sed -n -e 's/ *(.*)//g' -e 's/ /-/g' -e '1p' /etc/issue