Get-ScriptPath for Powershell

This small script is great to keep in the collection. I’m seriously a fan of writing reusable mini-scripts and wrap them i functions as I go along with the code. This one is probably my favorite and I use it in all my other scripts. Heavily Commented:

Less commented:

Read More

Securing your Linux Server – Iptables

One of the most exhaustive tasks while maintaining a server is intrusion prevention. There are many ways in which you can restrict access to the admin controls. More obvious methods include updates, strong passwords and a properly configured firewall. For me it is a best practice to not solely depend on the corporate firewall, how…

Read More

Breakfast anyone?

Weekends I tend to relax by the computer with one of my deep and fulfilling projects. This website for instance. How does one solve the food issue without stressing the body with huge amounts of fast paced energy and still stay satisfied for extensive periods of time? – Most people would agree that a steady…

Read More

Check disk space utilization in Bash

Lets add a quickie to the inventory.Ā Not all of us have the luxury of infinite disk space, neither do I. I have however never encountered a situation where my diskspace were running out on a non-graphical server installation before. Good enough for me, the net is swarming with blogs like this. This is my way…

Read More