Showing headlines posted by linuxer
« Previous ( 1 2 3 4 5 6 7 8 9 ... 35 ) Next »Protecting Data Integrity on Ext4 and XFS with dm-integrity and LUKS
Unlike COW filesystems like BTRFS and ZFS, traditional Linux filesystems like ext4 and XFS have no way to detect slow data degradation (also known as bitrot), since they don’t perform data checksumming. When using those filesystems, however, we can store and verify integrity information at the block level, using dm-integrity. In this tutorial, we learn how to create dm-integrity devices with the integritysetup utility, and when creating LUKS containers, using cryptsetup.
Findmnt Command: Querying Filesystems in Linux Made Easy
Findmnt is a free and open source utility usually included in the core packages of all the major Linux distributions. It is able to list all mounted filesystems or retrieve data for only those we specify. In this tutorial, we learn how to use findmnt, and how to query filesystems by type, mount options and other parameters.
How to Install KDE Plasma on Linux Mint
Linux Mint is a popular Linux distribution known for its simplicity and user-friendliness. While it primarily comes with Cinnamon, MATE, or Xfce desktop environments, users may prefer the polished and highly customizable KDE Plasma. This tutorial will guide you through the steps to install KDE Plasma on Linux Mint regardless of your Linux Mint version.
Using flock in Bash Scripts: Manage File Locks and Prevent Task Overlaps
Managing concurrent processes in a Bash script can be a challenging endeavor, especially when tasks need to be executed without overlap. This is where file locking comes into play. In this article, we will explore how to use the flock command in Bash scripts to create file locks, ensuring that only one instance of a task can run at a time. This capability prevents unexpected behaviors and resource contention, making our scripts safer and more reliable.
Bash Script as a Simple To-Do List
Creating a simple to-do list is a common task that can be accomplished using various programming languages. One straightforward option is to utilize a Bash script, which allows users to create, view, and manage tasks right from the command line. This article will guide you through setting up a simple to-do list using a Bash script.
Binary Clock with Bash Script
A binary clock is a creative way to display time using binary numbers instead of decimal digits. This article will guide you through creating a simple binary clock using a Bash script. You’ll see how this script can run directly in your terminal, offering a unique alternative to traditional clocks.
How to install Ubuntu on Windows
If you currently use Windows as your primary operating system, but feel that you are missing out on some important Linux features, it is possible to install Ubuntu on Windows through the WSL (Windows Subsystem for Linux) feature.
How to resize ext4 root partition live without umount on Linux
It is possible to resize the root partition in Linux, even if you are actively booted into the installation that resides on the partition. Ordinarily, hard drive partitioning changes should only be carried out on unmounted partitions and hard drive space that is not being actively used.
SSHuttle: A VPN-Like Tool for Secure Traffic Routing
SSHuttle is a powerful, VPN-like tool that allows Linux users to securely route network traffic through a remote server using SSH. It is ideal for scenarios where you need secure traffic encryption, bypassing firewalls, or accessing restricted resources without the overhead of setting up a full-fledged VPN.
How to Backup and Restore UFW on Linux
The Uncomplicated Firewall (UFW) is a user-friendly tool for managing firewall rules in Linux. Whether you are migrating servers, need to reinstall your operating system, or simply want to safeguard your configurations, backing up and restoring UFW is an essential skill.
How to Test Network (ethernet) Speed on Linux CLI with iperf3
Testing network speed is a critical part of diagnosing network issues or optimizing performance. On Linux, the command-line tool iperf3 is a robust and reliable solution for measuring bandwidth, latency, and packet loss.
How to Install a Desktop (GUI) on Ubuntu Server
Ubuntu Server, by default, is designed to operate without a graphical user interface (GUI), allowing it to run more efficiently in resource-constrained or remote environments. However, if you’re new to Ubuntu or prefer a graphical interface, you can install a desktop environment on Ubuntu Server.
Understanding Bash Command Syntax: A Beginner’s Tutorial
Bash, the Bourne Again Shell, is a powerful command language interpreter that is widely used in Linux environments. Learning the syntax of Bash commands can help you perform a wide range of tasks, from basic file manipulation to advanced scripting. In this guide, we’ll explore essential Bash command syntax and cover 18 examples, moving from basic to intermediate levels.
Best Small Linux Distros for 2024
Choosing the best small Linux distro in 2024 can feel overwhelming with so many options available. Lightweight Linux distributions are ideal for older computers, minimalists, or anyone looking to get more speed and efficiency from their machine. In this article, we’ll explore the lightest Linux distros to help you choose the right option for your needs.
Fedora 41 released. Here is what’s new
The latest stable version of Fedora Linux, often regarded as the best Linux distro for polished and professional use, has been released a couple of hours ago, and is available for download. Sponsored by Red Hat, Fedora has a release cycle of approximately 6 months; it provides up-to-date versions of the most used free and open source software, and one of the best (if not the best), available “vanilla” GNOME desktop experience.
How to Use Bash Autoincrement Variables and Counters Effectively
Bash scripting is a powerful tool for automating repetitive tasks, making it a core skill for anyone working with Linux systems. Among the essential techniques is managing variables that increment automatically, especially in loops or iterative processes.
Automate Dynamic IP Updates for Your Domain with Cloudflare and Bash Script
In a world where static IP addresses are often an added expense, dynamic IP addresses can make managing domains a challenge. If your ISP assigns you a dynamic IP address, keeping your domain updated can be a hassle. This tutorial will walk you through creating a simple yet effective Bash script that uses Cloudflare’s API to update your domain’s DNS record whenever your IP changes.
Exploring the Foundations of Linux: A Look at Major Distributions and Their Base Systems
In the world of operating systems, Linux stands out not only as a robust and versatile platform but also as a vibrant ecosystem with hundreds of unique distributions (often referred to as distros). Unlike proprietary systems, Linux is open-source and community-driven, meaning anyone can modify, improve, or create their own variant. This has led to a vast and dynamic landscape of Linux distributions, each with its own focus, strengths, and intended audience.
Bash Scripting Tutorial: How to Write a Bash Script
The Bash shell is one of the most powerful components of a Linux system, as well as one of the most compelling reasons to use Linux. Users can interact with Bash through the command line, and write scripts to automate tasks. Although this may sound intimidating to beginning users, it is not hard to get started with Bash scripting.
How to Save a Script on Terminal
Saving scripts directly from the terminal is a fundamental skill for anyone working with Linux. This skill is particularly useful for automating tasks, managing configurations, or executing sequences of commands with ease. In this guide, we’ll walk you through the detailed steps to save and run a Bash script in Linux using the terminal.