Showing headlines posted by linuxer

« Previous ( 1 2 3 4 5 6 7 8 ... 36 ) Next »

Ultimate Web Server Benchmark: Apache, NGINX, LiteSpeed, OpenLiteSpeed, Caddy & Lighttpd Compared

Choosing the right web server can make or break your website’s performance. With so many options available Apache, NGINX, LiteSpeed, OpenLiteSpeed, Caddy, and Lighttpd how do you know which one is the fastest, most efficient, and best suited for your needs? To find out, we conducted a comprehensive benchmark, testing these six popular web servers under different conditions, including static file handling, high concurrency, large file downloads, and sustained traffic simulations.

Bash Script to Convert to Uppercase

In the world of programming and scripting, text manipulation is a fundamental task. A common requirement is to convert a given string or sentence to uppercase. This article will guide you through creating a simple Bash script that accepts inputs via the command line interface (CLI) and transforms them into uppercase letters.

How to Install Elasticsearch on Ubuntu/Debian Linux

Elasticsearch is a powerful, open-source search and analytics engine designed for handling large-scale data. It is commonly used in log analysis, full-text search, and real-time analytics. This tutorial will guide you through installing and configuring Elasticsearch on Ubuntu/Debian.

Bash Script to Zip All FIles in Directory

In today’s digital world, managing files efficiently is crucial. One common task is zipping files within a directory to save space or to prepare for sharing. This article will guide you through creating a Bash script that zips all files in a specified directory. The script will accept the directory as a command-line argument, extract the directory name, and generate a zip file named with both the original directory name and the current date and time. Let’s get started!

Bash Script to Shorten File Names Recursively

In the world of file management, maintaining organization and efficiency is crucial. Long file names can lead to confusion and clutter, especially when dealing with numerous files across multiple directories. This article will walk you through creating a Bash script that recursively shortens file names in a specified directory while preserving the original file extensions. The script will respect the length of the file names based on a character limit specified as a command-line argument.

How to Install and Run DeepSeek AI on Ubuntu/Debian (No GPU)

  • linuxconfig.org; By Lubos Rendek (Posted by linuxer on Jan 31, 2025 5:50 PM CST)
  • Story Type: Tutorial; Groups: Linux
DeepSeek is a cutting-edge AI model designed for natural language processing, offering powerful capabilities such as text generation, summarization, and reasoning. It can run locally on Linux, making it an excellent choice for users who want privacy, control, and offline access to AI.

Simplify Restic Backups with Backrest: A Step-by-Step Tutorial

  • linuxconfig.org; By Egidio Docile (Posted by linuxer on Jan 31, 2025 6:53 AM CST)
  • Story Type: Tutorial; Groups: Linux
In a previous article, we learned how to create secure and efficient backups with Restic on Linux. Restic works on multiple platforms, but comes without a GUI. In this article, we learn how to install and use Backrest, a free and open source, user-friendly web-based interface for Restic.

Bash Script to SSH with Password Example

In this article, we’ll explore how to create a simple Bash script that uses SSH to connect to a remote host with a username and password. Though using a password in scripts is generally discouraged due to security reasons, this example aims to demonstrate the mechanics of SSH connections in Bash scripting.

How to Install Pi-hole Server on Linux

Pi-hole is a powerful network-level advertisement and Internet tracker blocking application that acts as a DNS sinkhole. It is lightweight and can run on most Linux-based systems, offering an efficient way to block ads across all devices on your network. This guide walks you through the step-by-step process of installing Pi-hole on your Linux server.

How to Use XOR Gate in Bash Script

  • bashscript.net; By Lucas Rees (Posted by linuxer on Jan 27, 2025 10:46 PM CST)
  • Story Type: Tutorial; Groups: Developer
In the world of digital logic, XOR gates play a crucial role in determining outputs based on binary inputs. When translated into a Bash script, implementing an XOR operation can facilitate decision-making processes and enhance various programming tasks. This article will guide you through the practical usage of XOR gates in a Bash script, helping you understand how to effectively implement logic operations in shell scripting.

Bash Script to Check for Mounted Partition

In this article, we will create a Bash script that checks if a specific partition is mounted. If it is not mounted, the script will attempt to mount it and then check again. This is crucial for ensuring that our script, which stores data into the partition, does not fill the system’s disk space when the partition is unavailable. By using this script with cron, we can automate tasks while maintaining system integrity.

Comparison of major Linux package management systems

The package manager is an integral part of every Linux operating system. Any Linux user that wishes to install, remove, or upgrade software will inevitably interact with the package manager in some capacity. Package management systems often differ in features across various Linux distributions, and the command syntax for each one is also slightly different.

Bash Script CPU Stress Test Example

  • bashscript.net; By Lucas Rees (Posted by linuxer on Jan 21, 2025 10:37 PM CST)
  • Story Type: Tutorial; Groups: Developer
The Bash Script CPU Stress Test Example is a powerful tool designed to evaluate CPU performance under load using the stress utility. This script ensures that the required tool is installed before proceeding to execute a stress test based on user-defined parameters. By accepting the number of CPU cores to stress and the duration of the test, it allows for a customized benchmarking experience.

Bash Script to Append to Variable Example

When it comes to managing variables in Bash, appending values to an existing variable is a common task. This article will provide a straightforward example of how to append to a variable within a Bash script, which can be extremely useful for various scripting scenarios.

How to Install Google Chrome Browser on Linux Mint

  • linuxconfig.org; By Lubos Rendek (Posted by linuxer on Jan 13, 2025 5:52 PM CST)
  • Story Type: Tutorial; Groups: Linux, Mint
Google Chrome is one of the most popular web browsers, known for its speed, reliability, and extensive ecosystem of extensions. In this guide, we will walk you through the detailed steps to install Google Chrome on Linux Mint, ensuring you have access to all its features and functionality.

Output to File Bash Script Example

Bash scripting is a powerful way to automate tasks in Unix-like operating systems. One of the most common tasks is redirecting output to a file. In this article, we will provide a comprehensive example of a Bash script that outputs data to a file, along with explanations and instructions on how to use it effectively.

Sleep Timer Bash Script for System Suspension

In today’s tech-driven world, conserving power on our devices is more important than ever. If you’re often away from your computer and want to automate putting it into a suspended state, then a simple Bash script can help. This Sleep Timer Bash Script allows users to set a timer in minutes, after which the system will suspend, saving energy and resources.

How to Write a Bash Script with Help and Usage Examples

Writing Bash scripts can significantly enhance your productivity, especially when performing repetitive tasks. This article provides a step-by-step guide on creating a Bash script that features a built-in help menu and usage examples, making it user-friendly for both beginners and advanced users.

How to Create Multiline Comment Bash Script Example

In Bash scripting, creating multiline comments can help enhance the readability and organization of your code. This is particularly useful when you want to comment on a block of code without using repetitive single-line comments. In this article, we will explore how to create multiline comments within a Bash script, along with a practical example.

The Importance of Bash Scripting for Linux System Administration

  • linuxcareers.com; By Lucas Rees (Posted by linuxer on Jan 2, 2025 11:40 AM CST)
  • Groups: Community
Bash scripting plays an integral role in Linux system administration, serving as a powerful tool for automating tasks, managing systems efficiently, and streamlining repetitive processes. Administrators who master Bash scripting can significantly enhance their productivity and reduce manual workload. Here's why Bash scripting is indispensable for Linux system administration.

« Previous ( 1 2 3 4 5 6 7 8 ... 36 ) Next »