Self-updating Bash Script Revised

Sunday, February 26th, 2012

I recently posted an approach for a self-updating bash script. Shortly after using it in production, I noticed a critical shortcoming. Due to the simple way in which I implemented my update checking (an MD5 sum over the script itself), changes to the script interpreter line (aka shebang) would cause the script to output that [...]

Integrate Progress Indicator in Console Output

Wednesday, January 4th, 2012

I recently tried to use pv in a bash script so that it wouldn’t interfere with my concept of communicating overall progress to the user. When I usually like to do is to echo -n a description of the current task and then later echo either “Done.” or “Failed!” (or something similar). Obviously, that somewhat [...]

Self-updating Bash Script

Thursday, December 22nd, 2011

Note: There is a revised version of this script available. While working on the typo3scripts project, I wanted to implement a self-updating feature into each of the scripts as that seemed most convenient for where these scripts would be used. My initial approach was OK but left me wondering. So, here is the revised approach [...]

Running a Source dedicated server (for Left 4 Dead)

Friday, December 26th, 2008

For a while now I have been running some dedicated servers for Source games. Primarily Team Fortress 2. I lately switched those off in favor of Left 4 Dead servers. I was always looking for a way to improve my setup. At some point during my initial googleing I came across this article. I based [...]

Setting up Cacti

Sunday, October 5th, 2008

So in the process of migrating our company network architecture over the paths months, I had the chance to set up Cacti for server monitoring. I followed some documentation and articles on the net but ended up making some stupid mistakes. So, let’s start with this. The host system Cacti will be running on, is [...]