Greetings fellow newbies!
If you use bash for scripting you will undoubtedly have to use conditions a lot, for example for an if … then construct or a while loop. The syntax of these conditions can seem a bit daunting to learn and use. This tutorial aims to help the reader understanding conditions in bash, and provides a comprehensive list of the possibilities. A small amount of general shell knowledge is assumed.
Difficulty: Basic – Medium (more…)
Varnish made some changes in how you clear the cache in Varnish 3. Hence the confusing title. However, it’s simple to clear the cache now, by using the “ban” command.
[:$] varnishadm -T 127.0.0.1:6089 ban.url /index.html
There are a few things you should be aware of. Varnish can run on different ports than 6089, so if you receive the following error: (more…)
This is a guide for installing a virtual copy of Linux and is intended for people who have NO idea what they are doing. Prior to writing this guide, I had absolutely no experience with Linux. As I went on this journey, I took notes so that I may spread my wisdom to others and soften the learning curve a bit. There are a few other guides out there for doing and install like this, but they are all really old and a lot has changed since then. Hopefully this guide will save you a lot of the headache and troubles that I went through.
Many Linux distros usually start a lot of daemons when booting, resulting in a long wait before you can get to work after powering on your machine. Some of those daemons are rarely used (or even not al all) by the majority of users. This tutorial describes how to disable unused or rarely used daemons in a proper way, resulting in faster boot sequences and less CPU load. (more…)
This lesson will show you how to install Git on your machine, create a basic GitHub repository, and configure our server to connect to GitHub with SSH. This will allow us to transfer files to and from the repository securely.
The grep command allows searching the contents of a file from the
command line. It’s a very useful tool to find a particular line in,
say, a log file or a conf file. And because it’s a command line
program, you can combine it with other commands in various ways to
produce powerful results. In this tutorial, you will learn both the
basics and some more advanced applications of grep.