Skip to main content
LHB Community

LHB Community

82 posts published

LHB Community is made of readers like you who share their expertise by writing helpful tutorials. <a href="https://linuxhandbook.com/write-for-us/">Contact us</a> if you would like to contribute.

TCP proxy with socat
Tutorial

Set Up a Basic TCP Proxy with socat

socat is a handy utility that lets you establish bidirectional data flow between two endpoints. Let's see how you can use it to set up a TCP proxy.

· LHB Community

Send slack notifications from shell scripts
Tutorial

Send Slack Notifications from Shell Scripts

A very basic example that demonstrates that you can send notifications to a Slack channel from your shell scripts. Learn and build on top of it.

· LHB Community

cd command alternative cdd
Tools

I Created a Better Way to Navigate Than the Classic cd Command

LHB community member Guillaume shared why he created an alternative to the cd command and how it works.

· LHB Community

Argo CD vs. Flux CD
Kubernetes

Argo CD vs. Flux CD: Which GitOps Tool is Right for Your Kubernetes Workflow?

Argo CD vs Flux CD, what should you choose? They're both good, so let's take a deep dive here to compare!

· LHB Community

Utilities to Boost Development Workflow Productivity
Tools

7 Utilities I Use to Boost Development Workflow Productivity

Here are a few tools that I have discovered and use to improve my development process.

· LHB Community

KubeTUI: Your Kubernetes Dashboard Right Inside Your Terminal
Kubernetes

KubeTUI: Your Kubernetes Dashboard Right Inside Your Terminal

Efficiently monitor Kubernetes with a dashboard in the terminal.

· LHB Community

Kubernetes DaemonSet
Kubernetes

Kubernetes DaemonSet: What it is & How to Use it?

Learn what a Kubernetes DaemonSet is, how it works, and when to use it. This guide covers real-world examples for managing DaemonSets in your cluster.

· LHB Community

Httptap - Monitor All HTTP and HTTPS Connections of Any Linux Application
Tools

Httptap - Monitor All HTTP and HTTPS Connections of Any Linux Application

A nifty tool that lets you monitor network connections of an application on Linux.

· LHB Community

Understanding Replicaset in Kubernetes
Kubernetes

Understanding ReplicaSet in Kubernetes With Hands-on Example

Learn about Kubernetes ReplicaSet with hands-on examples. Understand how it ensures pod availability, scales applications, and manages workloads efficiently.

· LHB Community

Generate Random Password with Terraform
Terraform

Generate Random Password with Terraform

Generating random passwords with Terraform is a simple yet powerful way to enhance the security of your infrastructure.

· LHB Community

Using Arrays in YAML
YAML

Using Arrays in YAML

Make your config files even more useful by adding a list of items in a sequence in YAML.

· LHB Community

Ansible Include Tasks
Ansible Modules

Ansible include_tasks Module: Reuse Tasks Across Playbooks

Learn to include tasks for reducing repetitions in playbooks.

· LHB Community

Ansible Cron Module
Ansible Modules

Ansible Cron Module: Manage Cron Jobs on Remote Systems

The cron module in Ansible lets you run and manage the cron jobs on remote systems.

· LHB Community

Ansible Git Module
Ansible Modules

Ansible Git Module: Manage Git Repositories

This module lets you deal with git repos from your playbooks.

· LHB Community

Ansible Stat Module
Ansible Modules

Ansible Stat Module: Get Detailed Info About Files on Target Hosts

The stat module in Ansible lets you deal with files based on their stats like size, mode and timestamps. Learn some practical examples.

· LHB Community

Kubernetes Pods Resource Usage
Kubernetes

Monitoring Resource Usage for Kubernetes Pods

Learn to utilize kubectl top to monitor resource usage for Kubernetes nodes and containers within specific pods.

· LHB Community

Ansible Variables
Ansible Tutorials

Examples of Including Variables in Ansible

Learn how to include variables in Ansible effectively to customize your configuration and streamline repetitive tasks with these examples.

· LHB Community

Terraform Merge Lists
Terraform

Using Terraform Merge Lists

Terraform provides a way to manage the structure code with the merge lists. Learn more about it with some practical examples.

· LHB Community

Ansible File Module
Ansible Modules

Ansible File Module: Manage Files and Directories on Remote Nodes

Manage files and folders, their ownership and permissions with the built-in file module of Ansible.

· LHB Community

Ansible User Module
Ansible Modules

Ansible User Module: Manage User Accounts on Remote Hosts

Let's see how you can manage user accounts on remote nodes with the user module.

· LHB Community

Use Tags in Ansible Playbooks
Ansible Tutorials

How to Use Tags in Ansible Playbooks

Manage specific tasks in a large playbook using tags in Ansible. Here are some real-world usecases.

· LHB Community

Ansible Debug Module
Ansible Modules

Ansible Debug Module: Display Output During Playbook Execution

Troubleshoot your playbooks for errors with the debug module in Ansible.

· LHB Community

Kubernetes Log
Kubernetes

Checking Kubernetes Log With kubectl logs Command

The kubectl logs is a powerful tool for monitoring and troubleshooting Kubernetes applications

· LHB Community

Kubernetes Switch Namespaces
Kubernetes

How to Switch Namespaces in Kubernetes

Learn how to switch namespaces in Kubernetes to run kubectl commands in the desired namespace.

· LHB Community

Get All Resources in a Namespace in Kubernetes
Kubernetes

Get All Resources in a Namespace in Kubernetes

Learn how to get all resources in a namespace in Kubernetes. Also learn to filter it out for more precise result.

· LHB Community

Kubernetes pods vs containers
Kubernetes

Difference Between Pods and Containers in Kubernetes

It is easy to get confused between pods and containers when you are new to Kubernetes.

· LHB Community

Editing Kubernetes Deployment
Kubernetes

How to Edit a Kubernetes Deployment

Looking to edit a Kubernetes deployment? Use kubectl edit for quick changes, kubectl patch for controlled modifications, or kubectl set for specific updates.

· LHB Community

Kubernetes
Kubernetes

List All Pods and Nodes in Kubernetes

In this quick Kubernetes tutorial, learn about getting pods and nodes information.

· LHB Community

Ansible replace module
Ansible Modules

Ansible Replace Module: Replace Strings and Lines

Learn to replace strings and lines across multiple systems or files with the Ansible replace module.

· LHB Community

Ansible blocks
Ansible Tutorials

How to Use Ansible Blocks

Make your Playbooks more readable and maintainable using Blocks feature in Ansible.

· LHB Community