How to Check MX Records Using the DIG Command

How to Check MX Records Using the DIG Command

The Domain Information Groper (DIG) command is a versatile tool for querying Domain Name System (DNS) servers. It is commonly used by network administrators to troubleshoot DNS issues because of its flexibility in showing the various records associated with a domain. In this article, you will learn how to utilize the DIG command specifically to query for Mail Exchange (MX) records, which are essential for determining the mail servers responsible for email reception for a domain.

Read more

Using the Find Command to Search for Files by Size

Using the Find Command to Search for Files by Size

Understanding how to efficiently locate files by size on a Linux system is a critical task for both system administrators and casual users. In the following guide, we delve into the granular use of the Linux find command to search for files based on their size – a powerful skill for effective file management and disk space optimization.

Read more

Extracting Specific Files and Directories from GZIP Archives

Extracting Specific Files and Directories from GZIP Archives

Extracting files from compressed archives is a common task in Linux, essential for managing software, scripts, or datasets. Gzip with tar is widely used due to its efficiency in handling multiple files and directories. In this guide, we’ll explore how to effectively extract specific components from a gzip-compressed tar archive using ‘data.tar.gz’ as our example.

Read more

How to perform Internet speed test on Raspberry Pi

How to perform Internet speed test on Raspberry Pi

Performing an internet speed test from your Raspberry Pi is a good way to confirm that you are getting the expected download and upload speeds to your device. If you suspect that websites or other external connections are loading slower than they should be, performing a speed test is the first troubleshooting step to take, and allows us to see if our suspicions are correct. After the speed test, we can pinpoint the source of slow downs as either the connection to a router or other local device, or perhaps the ISP itself is the problem.

Read more

How to use docker-compose with Podman on Linux

How to use docker-compose with Podman on Linux

Podman is a free and open source alternative to Docker, created by Red Hat. Although Docker is probably more widespread, to the point that it became a synonym for “containers”, from a technical point of view, Podman is superior: it was designed, right from the start, to be daemonless, it is able to run without the need for root privileges, and is better integrated in the Linux environment. One of the things which potentially prevented many to migrate from Docker to Podman, was the lack of a full-fledged Podman equivalent for docker-compose. By creating a layer of compatibility between Podman and Docker, it is now actually possible to user docker-compose as if it was a Podman native tool.

Read more

How to Check NVIDIA Driver Version on Linux

How to Check NVIDIA Driver Version on Linux

Understanding the version of the NVIDIA driver installed on your Linux system is crucial for compatibility with various applications, especially for gaming, scientific computing, and machine learning tasks. Whether you are troubleshooting a driver issue or ensuring that you meet the prerequisites for software that requires a specific driver version, knowing how to check your NVIDIA driver version is a useful skill.

Read more

Ubuntu: Change Default Terminal Emulator

Ubuntu: Change Default Terminal Emulator

Changing the default terminal emulator in Ubuntu can sometimes lead to the error ‘Too many levels of symbolic links’. This issue can occur during the configuration of terminal alternatives. This guide will help you understand how to resolve this problem and set your preferred terminal emulator as the default on Ubuntu.

Read more

How to orchestrate restic backups with autorestic on Linux

How to orchestrate restic backups with autorestic on Linux

Restic is a modern backup program with support for encryption and deduplication. As we saw in this tutorial, Restic is easy to use, but it doesn’t make use of a configuration file, and doesn’t natively include a method to orchestrate and organize multiple backups. That is where autorestic comes in handy: it is a wrapper around Restic which let us configure and orchestrate backups in a single yaml configuration file, specifying multiple sources (locations) and destinations (backends).

Read more

How to Fix: Too Many Levels of Symbolic Links Error

How to Fix: Too Many Levels of Symbolic Links Error

The error “Too many levels of symbolic links” typically indicates a problem where a symbolic link points back to itself directly or indirectly, creating an infinite loop. This loop prevents the completion of operations involving the symlink such as reading or listing contents. Understanding how to properly use the ln command in Linux to create symbolic links is crucial for preventing this error.

Read more

How to enable/disable wayland on Ubuntu 22.04 Desktop

How to enable/disable wayland on Ubuntu Desktop

Wayland is a communication protocol that specifies the communication between a display server and its clients. On Ubuntu, users can choose to enable or disable Wayland according to their needs. By default, Ubuntu’s desktop environment runs on Wayland, but it is also possible to switch to the Xorg display server. This tutorial will demonstrate how to enable and disable Wayland on the Ubuntu desktop.

Read more

How to Disable Unattended Upgrades on Ubuntu

How to Disable Unattended Upgrades on Ubuntu

Unattended upgrades can be a double-edged sword. While they keep your system up to date automatically, they might also unexpectedly change the system’s state or introduce new issues without your prior knowledge. In certain environments, especially in production or where stability is a must, it might be preferable to disable these automatic updates. This guide will walk you through the steps necessary to disable unattended upgrades on your Ubuntu system.

Read more

How to Install G++ (C++ Compiler) on Ubuntu

How to Install G++ (C++ Compiler) on Ubuntu

Welcome to this comprehensive guide on installing and managing different versions of the G++ compiler on Ubuntu. The G++ compiler is a vital tool for developers who need to compile C++ applications, and having the correct version installed can significantly affect the functionality and compatibility of developed software. This tutorial is designed to help students, hobbyists, and professional developers successfully install the G++ compiler on their Ubuntu systems and navigate between different versions as needed. Whether you are setting up a development environment, learning C++, or managing multiple C++ projects, this guide will provide you with detailed steps and explanations to ensure that you have the necessary tools to work efficiently with Ubuntu, a popular choice for developers due to its stability and robust community support.

Read more