Monthly Archives: April 2009

Shell Script Examples: case, count, for, if, while and User input

If you, like so many other people these days, switch to Linux you will come in contact with something called unux scripts, shell scripts or bash scripts. These scripts are text-files that execute commands just like bat-files in Windows. I prefer shell-scripts because i think they are more powerful then bat-files but that is just my opinion.

Some things you should know:
#!/bin/bash usually is the first line in a bash script. It is called shebang (also called a hashbang, hashpling, or pound bang) and specifies in which shell to execute the code that follows below.

Everything after a # is a comment and does not get executed.

Below you will find examples of a few things that you can do with shell scripts on Linux and other Unixes. If you have questions: have a look at the man page of the command or post a comment and I will try to explain.

Continue reading

New theme and move to web hosting

Recently I discovered that the old theme of this blog was a bit to popular for my taste. So I switched. I hope you like the new look.

My thanks go out to mg12 who created the theme I am using now. I like it.

Since Isabella was borne I have had a lot of things to do. Therefore I felt that there was just not enough time to maintain my server at home. There was also the bandwidth issue. At the moment the fastest internet access I can get at home has only a 1 Mbit/s up-link. A bit to slow in my opinion. Therefore I started searching for a good web hosting company that could host

After a long period of reading and asking friends i found A small web-hosting company with good service and low prices. I spoke to their support staff a couple of times before i signed up with them. The support staff could answer all of my questions so I guess that they are quite competent :)

I have only been a customer of for a couple of days but so far everything is going according to my expectations (they ware quite high). has c-panel which lets you configure your mail server, spamassassin your web server and so on. It works well and is easy to learn.

If you are looking for a good and affordable web-hosting company I can recommend

Enjoy the bandwidth