Variable increment and decrement is fundamental arithmetic operation in bash scripting. It’s mostly used with the for, while and until loops. Increment means adding value to variable and Decrement means subtracting from numeric variable value. This article explains multiple ways to increment or decrement a variable. Use of + and – Operators# You must use
Make Linux Great Again
How to Install Flask on Ubuntu 20.04
Flask is a free and open-source micro web framework for Python designed to help developers build secure, scalable, and maintainable web applications. Flask is based on Werkzeug and uses Jinja2 as a template engine. Unlike Django , by default Flask doesn’t include ORM, form validation, or any other functionalities provided by third-party libraries. Flask is
How to Check if a String Contains a Substring in Bash
While you working with string in Bash need to check whether a string contains another string. In this guide, we will show you multiple ways to check if a string contains a substring in bash scripting. Use Wildcards# It is easy to use asterisk wildcard symbols (asterisk) * to compare with the string. Wildcard is
Bash Arrays
Arrays are set of data and fundamental requirement for any programming language. We can say that it’s a variable with multiple child variables. This article shows you basics and use of arrays in Bash scripts. Bash Arrays# One dimensional array with numbered index and associative array types supported in Bash. Those are referenced using integers
A Basic Guide to Linux Boot Process
Every time you power on your Linux PC, it goes through a series of stages before finally displaying a login screen that prompts for your username or password. There are 4 distinct stages that every Linux distribution goes through in a typical boot-up process. User Login Prompt In this guide, we will highlight the various
How to Install Fedora 33 Server
Fedora 33 was released with a server edition, and in this tutorial, we shall go through the various steps of how to install the Fedora 33 server with screenshots. There are some crucial improvements in the server edition, before we proceed to the installation steps, we shall look at some of the new features and
who Command in Linux
In this article, we explain the who command that is bundled in GNU coreutils package. who is a command-line utility that prints a list of currently logged in users. It can also show the current run level, time of the last system boot, and more. How to Use the who Command # The basic syntax
How to Install Microsoft Edge Browser in Linux
Long gone days where Microsoft products are not open-source and architected only for Windows. In their efforts to make a strong footprint in the Linux market, Microsoft has announced on “Microsoft Ignite 2020” Edge browser is available for Linux as a dev preview. Edge browser is initially released with Windows 10 followed by Mac OS,
How to Install and Use i3 Window Manager on Linux
Written in C language, the i3wm ( i3 Windows Manager ) is a lightweight, easy-to-configure, and hugely popular tiling windows manager. Unlike the conventional desktop environment, a tiling manager provides just sufficient functionality to arrange windows on your screen in an easy and appealing manner suited for your workflow. i3 is a minimalist tiling manager
How to Install Python 3.9 on Ubuntu 20.04
Python is one of the world’s most popular programming languages. It is a versatile language used to build all kinds of applications, from simple scrips to complex machine learning algorithms. With its simple and easy to learn syntax, Python is a popular choice for beginners and experienced developers. Python 3.9 is the latest major release