The last looping structure we look at is the FOR loop. This is often used to enumerate through a list of items such as in the following code: for U in(bob joe fred) do useradd…
Looping in any scripting environment will be useful and fun, helping us with those repetitive tasks that we hate. There are many forms of loops and in this tutorial, we take our first look at…
Looping in any scripting environment will be useful and fun. There are many forms of loops and in this tutorial we look at UNTIL loops. These loops are very similar to WHILE loops but we…
More Conditions Than ELIF Likes This lesson looks at using BASH case statements. The if statement in BASH is adequate for testing a few conditions. Adding each conditional test becomes cumbersome, though, when it needs…
We will first create a new logical volume and copy the contents of the CentOS installation DVD to the new volume. With that in place we install the Apache web server into CentOS 6.3 with…
One thing you will certainly need to do with your Apache web server is being able to execute CGI scripts, server-side scripts, on the server. For this we will have to enable a few modules…
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok