Get a list of all virtual hosts which are defined in all apache configuration files

Have you ever looked in the apache config files to see where a website's virtual host is defined? The apache2ctl script has a useful option that could come in good here. When you execute the command, it should look like this: apache2ctl -S You'll obtain a list of all virtual hosts and default servers in ... Read more

Linux Basics: The gunzip command explained (with examples)

Linux Gunzip Examples

The gunzip command is a widely used command for uncompressing files which are made using the gzip utility. It decompresses files with the.gz or .tgz file extension. The command removes the compressed file. After decompression, the files retain their original extension. Gzip is a popular file compression algorithm that keeps the file’s original mode, ownership, ... Read more

How to download and extract a .deb package on Ubuntu or Debian Linux

Download .deb package

Sometimes you require a certain file from a Debian .deb package. For example, because you accidentally deleted a file. Or because the package's installation is faulty and it can't be restored without first adding the missing file. This FAQ explains how to extract the contents of a.deb file downloaded from the Debian or Ubuntu repository. ... Read more

How to Create Multiple Hyper-V Virtual Machines Using PowerShell

Hyper-V PowerShell

Creating multiple Hyper-V virtual machines using Hyper-V manager is not a quick method. The quickest and time-saving method is to create them via Windows PowerShell. This tutorial has been written to show you how to create three Hyper-V virtual machines with a PowerShell script. Create Multiple Hyper-V Virtual Machines Using PowerShell Step 1. Open notepad editor ... Read more

Docker command cheat sheet

Docker Cheat Sheet

Docker is a tool designed to create, deploy and run applications using containers. With a container, developers can package applications with all parts they need such as libraries, dependencies and ship it all out as on. Docker provides a REST API to talk with its daemon which is executed by the command-line interface. This article ... Read more