The core component of each Linux operating system is the Linux kernel. It manages the system’s resources, and acts as an intermediary between the computer’s hardware and software. The Linux kernel is a software that has a modular design. A kernel module, or often referred to as a driver, is a piece of code that
Tutorial - Page 13 of 36 - DesignLinux
Bash Sequence Expression (Range)
Using Bash sequence expression you can generates a range of integers or characters by providing the start and the end point of the range. In this guide, we will show you the basics of the sequence expression in Bash. Bash Sequence Expression# Below is the basic form of the sequence expression: {START..END[..INCREMENT]} The expression starts
How to Set Up WireGuard VPN on Ubuntu 20.04
WireGuard is a modern VPN (Virtual Private Network) technology that utilizes state-of-the-art cryptography. Compared to other popular VPN solutions, such as IPsec and OpenVPN , WireGuard is faster, easier to configure, and has a smaller footprint. It is cross-platform and can run almost anywhere, including Linux, Windows, Android, and macOS. Wireguard is a peer-to-peer VPN;
Gunzip Command in Linux
Using Gunzip command-line tool you can decompressing Gzip files. Gzip is the popular compression algorithms to reduce the size of a file and keep the original file mode, ownership, and timestamp. In this tutorial, we will show you how to use the gunzip command. Decompressing Files with gunzip# Below is the basic syntax for the
How to Compare Strings in Bash
At the time of writing bash scripts, it’s often required to compare two strings to check it wether those are equal or not. Two strings are equal when they have the same length and contain the same sequence of characters. This guide shows you how to compare strings in Bash. Comparison Operators# Comparison operators are
How to Install and Configure Squid Proxy on Ubuntu 20.04
Squid is a full-featured caching proxy supporting popular network protocols like HTTP, HTTPS, FTP, and more. It can be used to improve the web server’s performance by caching repeated requests, filter web traffic, and access geo-restricted content. This tutorial explains how to set up a Squid Proxy on Ubuntu 20.04 and configure Firefox and Google
Bash Case Statement
The bash case statement can be used when you have multiple choices conditions. Using bash case statement, it will be more readable and easier to maintain instead of nested if statements. This tutorial shows you the basics and use of the Bash case statement in shell scripts. The Bash case statement has a similar concept
How to Setup FTP Server with Vsftpd on Raspberry Pi
This tutorial explains how to install and configure an FTP server on Raspberry Pi that you use to share files between your devices. We’ll use vsftpd, which a stable, secure, and fast FTP server. We will also show you how to configure vsftpd to restrict users to their home directory and encrypt the entire transmission
Echo Command in Linux with Examples
In Linux, the echo command is most common and frequently used command. It will print the passed arguments to the standard output. Generally, echo command is used in shell scripts to show a message or output the results of other commands. echo Command# By default, the echo is built-in in Bash and other shells like
Touch Command in Linux
The touch command is used to create a new empty files and update the timestamps of existing files and directories. In this tutorial, we will cover how to use the touch command with examples. Linux Files Timestamps# At first, we will see the file timestamps in Linux. There are three timestamps of a Linux file: