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 “Shell Script Examples: case, count, for, if, while and User input”
Easter has come and gone. It was a beautiful weekend here in Sweden, about 17 Celsius in the shade and very sunny. What better to do then to start the charcoal grilling season? Since my friends regard me as a bit of a geek (which I am) I had to purchase some new equipment for the season. Continue reading “The Weber Poultry Roaster”
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 rhau.se
After a long period of reading and asking friends i found anx.se. 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 anx.se for a couple of days but so far everything is going according to my expectations (they ware quite high). Anx.se 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 anx.se.
Enjoy the bandwidth