fir3net
September 20, 2016

What is the Difference Between Docker CMD and ENTRYPOINT ?

in Linux
Within the world of Docker, CMD and ENTRYPOINT are often the cause of confusion. But why, you may ask? This is because both CMD and ENTRYPOINT are used to execute commands at container run time.But do not fear, my fellow Fir3net reader, in this article we will look at the how the 2 differ and when they should be used. CMD CMD allows you to define a command that is executed at run time ; The…

How to Automate/Gather Statistics for Multiple Websites in BASH

in Shell Scripting
Introduction For one reason or another, Im sure you will find yourself in a position when you need to obtain statistics for a collection of websites.…

Cisco ASA - Traffic Sent Out Incorrect Interface Due to NAT

in Cisco
Problem Lets consider the following scenario. We have a firewall with 3 interfaces, Outside, Inside and DMZ. When traffic is sent to the DMZ segment,…

How to Resolve a Git Merge Conflict from the Command Line

in Linux
Git provides 3 types of merging, Fast-Forward, Automatic and Manual. A manual merge is required when git is unable to resolve any conflicts , this…

How to Colorize the Git Output within your Shell

in Linux
Git provides various global configuration options for colorizing the output.[1] In order to enable these options, run the following commands. This…

How to Display your Local Git Branch in your BASH prompt

in Linux
In order to make your life easier when working with git, this article provides the steps to display the current local git branch within your bash…

How to Configure Django + Gunicorn inside Docker

in Django
Introduction Gunicorn 'Green Unicorn' is a Python WSGI HTTP Server for UNIX. It's a pre-fork worker model ported from Ruby's Unicornproject[1].…

How to Build a Site to Site VPN Between Azure and a Cisco ASA

in Cisco
Introduction Within this article we will show you how to build a policy based site to site VPN between Microsoft Azure and a Cisco ASA firewall.…
vnet-layout

Microsoft Azure - Virtual Networks (VNets) Explained

in Cloud
What is a Virtual Network? A Virtual Network, also known as a VNet is an isolated network within the Microsoft Azure cloud.VNets are synonymous to…

How to Configure the UFW Firewall

in Linux
Introduction The Uncomplicated Firewall (ufw) is a frontend for iptables and is particularly well-suited for host-based firewalls. ufw provides a…