Category: Linux

Linux curl examples.

Introduction In this post you will learn about curl command in Linux and then have a look at some common curl examples. What is curl? Curl is a command-line utility used for sending and getting data using URLs. curl supports various protocols, including HTTP, HTTPS, FTP, SCP, SFTP, TFTP, LDAP, TELNET, POP3, SMTP and others. It

How to update NodeJS to the latest version?

Introduction In this short post we will update NodeJS to the latest version using npm (Node Package Manager). I will update  NodeJS 8.1.0 to NodeJS 10.13 in Ubuntu 18.04.   Update NodeJS using NPM If you have NodeJS installed on your computer then you also have NPM, because they come together. NPM (Node Package Manager) is usually

How to backup a FreePBX server?

Introduction. In this post we will learn how to make a backup of your FreePBX server. I will be using FreePBX version 13. Before we start we have to setup an FTP server, because FreePBX uses FTP protocol for backups. If you don’t have an FTP server running  already, you can read these short posts

How to setup FTP server in Windows?

Introduction In this lesson we will learn how to setup FTP server in Windows operating system. What is FTP Server? File Transfer Protocol(FTP) is a protocol used to transfer files between computers in a network. FTP server is usually required when you want to share files with other users or when you need to backup

Mininet Tutorial

What is Mininet? Mininet is a software that emulates virtual network environment with OpenFlow support. It is great for learning, prototyping and testing SDN features and applications.   How to install Mininet? There are several ways you can install Mininet. The easiest and recommended one is to go to and download the image for your

Ansible Tutorial

Introduction In this short Ansible tutorial we will go through the installation process of Ansible and its basic features. Ansible is an automation tool which allows us to manage remote servers without installing any agents on those remote machines.  Only the control machine needs to have it installed. By “remote servers” I mean not only Linux/Windows

How to test network speed using two Linux machines?

Introduction This guide will show you how you can perform a network speed test using two Linux machines. It will show you the actual network bandwidth between two points in your network. We will connect a Linux machine at each point in you network and generate traffic between them. We can use simple laptops, desktops

Tcpdump command examples.

Introduction This post is about tcpdump – packet analyzer that comes preinstalled with any modern Linux distribution. tcpdump allows us to capture packets and either display them in real time or save them to a file for later analysis. We will look at several examples of using tcpdump to learn which options it has and

Introduction to iptables

Introduction In this tutorial we will learn how to configure iptables which is a built-in Linux firewall. I will use Ubuntu 18.04 for demo, but you can use any other Linux distro. Before we get into actual configuration we will learn some theory behind iptables. iptables allows us to filter packets based on IP addresses,

Shell Scripting Guide

Introduction In this guide we are going to learn how to use BASH shell scripting. Shell scripting is usually used for tasks such as file manipulation, program execution and task automation. Shell scripts contain the same commands you normally run in a terminal, it just allows you to group them together and run them in