tecadmin.net tecadmin.net

How To Install Python 3.11 on Ubuntu, Debian and LinuxMint

Python 3.11 is the latest stable version at the time of writing of tutorial. Which comes with multiple new features and security upgrades. This version comes with improved error messages for common mistakes in type hints. A new syntax for variable annotations, to make it more clear when a variable is intended to be used for type hints versus other purposes. Improved the support for type checking and type inference in the standard...

tecadmin.net tecadmin.net

Excluding URLs from ProxyPass in Apache

Apache’s mod_proxy module allows you to forward requests to another server using the ProxyPass and ProxyPassReverse directives. However, in some cases, you may want to exclude certain URLs from being proxied. In this tutorial, I will show you how to exclude an URL from ProxyPass in Apache. The first step is to identify the URL that you want to exclude from being proxied. For this tutorial, let’s assume that we want to exclude the...

tecadmin.net tecadmin.net

Sort Command in Linux with Practical Examples

The `sort` command in Linux is part of the GNU Coreutils package. This command is used to sort lines of text in a specified file or from the standard input in an ascending/descending order. The sorted output can be written to a file or displayed on the standard output. The `sort` command is a simple and powerful tool that can be used in various scenarios, from sorting data in a file for further analysis to preparing data for a report....

tecadmin.net tecadmin.net

How to Install and Use Flask in Fedora 37/36

Flask is a popular microweb framework written in Python. It is lightweight and easy to use, making it a good choice for developing small web applications. It is designed to enable developers to create and scale web apps quickly and easily. It has a small and easy-to-extend core, with sensible defaults to get started quickly. In this article, we will show you how to install and use Flask on a Fedora system. Prerequisites Before you...

tecadmin.net tecadmin.net

Sed Command in Linux with 15 Practical Examples

The `sed` command is an essential tool for manipulating text in Linux. It allows you to search for patterns in a text and perform various operations on the matching text, such as replacing it, deleting it, or printing it. This command takes input from a file or standard input. The default sed command doesn’t make changes to the original file until you used the -i command line parameter. The command alerts the text and sends the...

tecadmin.net tecadmin.net

How to Print a List without Brackets in Python

A Python list is an ordered and changeable collection of data objects. Unlike an array, which can contain objects of a single type, a list can contain a mixture of different types. A list in Python is used to store the sequence of various types of data. A list can be defined as a collection of values or items of different types. Python has a great built-in list type named “list”. List literals are written within square brackets...

tecadmin.net tecadmin.net

Rsync Command to Exclude Files and Directories: An Ultimate Guide

Rsync is a powerful command-line utility for Unix/Linux systems, that allows you to synchronize and transfer files between different two systems. One of the key features of Rsync is the ability to exclude files and directories from the synchronization process. This feature can be incredibly useful for a variety of tasks, such as backups, codebase synchronization, and data management. In this article, we’ll get a basic understating...

tecadmin.net tecadmin.net

Rsync Command to Copy Missing Files (Examples)

Rsync is a command-line utility that is used to synchronize files and directories between two locations. It is commonly used to copy files from one location to another while preserving file attributes such as permissions, timestamps, and ownership. One of the powerful features of rsync is the ability to copy only the files that are missing or have been modified in the destination location. This can be useful when you want to keep a...