Showing headlines posted by linuxer

( 1 2 3 4 5 6 ... 34 ) Next »

Shell Upgrade: Supercharge Your Terminal with Zsh & Oh My Zsh

  • linuxconfig.org; By Lubos Rendek (Posted by linuxer on Mar 31, 2025 12:17 PM CST)
  • Story Type: Tutorial; Groups: Linux
In the Linux world, your choice of shell can significantly enhance your command-line experience. While Bash is the default shell on most Linux distributions including Debian and Ubuntu, the Z shell (Zsh) with the Oh My Zsh framework offers a more visually appealing and feature-rich alternative that can boost your productivity and make terminal work more enjoyable.

Enhancing Privacy on Linux: Mounting Logs and Temporary Directories in RAM

  • linuxconfig.org; By Lubos Rendek (Posted by linuxer on Mar 28, 2025 6:43 PM CST)
  • Story Type: Tutorial; Groups: Linux
To enhance user privacy and reduce the risk of activity tracking on Linux systems, you can mount temporary directories such as /tmp, /var/tmp, and /var/log in RAM using tmpfs. This ensures these directories are cleared at every reboot, leaving no logs or temp files behind. The tmpfs filesystem is a RAM-based filesystem that stores all data in volatile memory rather than on a persistent storage device, making it ideal for privacy-focused configurations.

Docker Run With Logs – Capturing and Debugging Output

  • linuxconfig.org; By Lubos Rendek (Posted by linuxer on Mar 27, 2025 6:48 AM CST)
  • Story Type: Tutorial; Groups: Linux
Logs are an invaluable aspect of troubleshooting and debugging Docker containers. When running applications within Docker, capturing logs efficiently allows developers to diagnose issues quicker and remediate them effectively. In this article, we will explore various methods to capture and analyze logs from Docker containers to gain insights into their behavior and resolve any arising issues.

Docker Basic Commands on Linux

  • linuxconfig.org; By Lubos Rendek (Posted by linuxer on Mar 26, 2025 3:39 PM CST)
  • Story Type: Tutorial; Groups: Linux
Docker is an essential tool for developers and system administrators working with containerized applications. This guide provides a comprehensive overview of Docker’s basic commands on Linux, covering everything from creating and managing containers to troubleshooting common issues.

Check If Docker Is Running – Linux Commands

  • linuxconfig.org; By Lubos Rendek (Posted by linuxer on Mar 26, 2025 9:58 AM CST)
  • Story Type: Tutorial; Groups: Linux
Checking if Docker is running on your Linux system is crucial for managing containerized applications effectively. Understanding how to verify the status of Docker can help mitigate issues with your Docker environment, especially during development and deployment.

Bash Function to Sort Docker Ps Output

  • linuxconfig.org; By Lubos Rendek (Posted by linuxer on Mar 24, 2025 6:57 PM CST)
  • Story Type: Tutorial; Groups: Linux
Sorting the output of docker ps can be helpful when you’re managing multiple containers and need a clearer view of what’s running. In this tutorial, we’ll walk through creating a Bash function that organizes this output in a more readable way using built-in shell tools like awk and sort. This builds upon Docker basic commands like docker ps, docker images, and docker inspect to create more powerful container.

How to Network Connect Two Containers With Docker-compose

  • linuxconfig.org; By Lubos Rendek (Posted by linuxer on Mar 19, 2025 8:29 PM CST)
  • Story Type: Tutorial; Groups: Linux
Networking is one of the fundamental aspects of working with containers in Docker. Using Docker Compose, you can easily connect multiple containers and manage complex applications comprised of several services. In this article, we will explore how to connect two containers using Docker Compose effectively. By the end, you will have a clear understanding of how to define networks in your configuration and enable seamless communication between your services.

Bash Script to Traverse Directory Tree

Traversing a directory tree can be a daunting task, especially when dealing with extensive file systems. Fortunately, Bash scripting serves as an efficient way to automate this process. In this article, we will explore how to create a Bash script that can recursively traverse a directory tree and perform specified actions on each file or folder it encounters.

Syncing Files with Docker-Compose Watch

  • linuxconfig.org; By Egidio Docile (Posted by linuxer on Mar 9, 2025 3:19 AM CST)
  • Story Type: Tutorial; Groups: Linux
When using Docker to create portable and easy reproducible development environments, we need to found a way to make changes to our codebase, immediately effective inside containers, without the need to re-build them each time. A possible solution consists into mounting host directories directly inside containers; this, however, requires breaking containers isolation and portability, since they become dependant on the host directory structure. To solve this problem, we can use docker-compose watch.

Docker Container Vulnerability Scanning Tools

  • linuxconfig.org; By Lucas Rees (Posted by linuxer on Mar 8, 2025 1:29 AM CST)
  • Story Type: Video; Groups: Linux
In today’s cloud-native and microservices-oriented world, Docker has become a cornerstone for developing, shipping, and running applications anywhere. However, with great flexibility comes great responsibility, especially regarding security. This article delves into various tools for scanning Docker container vulnerabilities, ensuring that your applications remain secure and compliant.

How to Hash a File on Linux

  • linuxconfig.org; By Lucas Rees (Posted by linuxer on Mar 6, 2025 2:09 AM CST)
  • Story Type: Tutorial; Groups: Linux
Hashing files is a critical process in the realm of data integrity and security. In this article, we will discuss how to hash a specific file, linuxconfig.txt, using various hashing algorithms available in Linux. Additionally, we will explore how to restore the file based on its hash, ensuring you can verify its integrity over time.

How to Install ZFS on Debian/Ubuntu

ZFS (Zettabyte File System) is a robust file system designed to manage large amounts of data while ensuring integrity, scalability, and advanced features like snapshots, compression, and data deduplication. This guide will take you through the steps required to install and enable ZFS on Debian or Ubuntu.

Bash Script to Suspend the System after User Inactivity

The modern workspace often demands hours of productivity from users, but what happens when you step away from your computer? To help manage power consumption and increase security, it’s useful to create a Bash script that automatically suspends the system after a period of user inactivity. This article will guide you through the prerequisites needed, the script itself, and how to implement it effectively.

Bash Script to Convert JSON to CSV

In today’s data-driven world, converting data between formats is a common task. One such conversion that many developers face is changing JSON data into the more spreadsheet-friendly CSV format. This article provides a straightforward Bash script to perform this conversion efficiently. We will also explore a sample JSON data structure for clarity.

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.

( 1 2 3 4 5 6 ... 34 ) Next »