Skip to main content

Latest Tutorials

Latest
Git show files in a commit
Using Git

Git Show Files in a Commit

Are you adding all the correct files? Check the files that are part of a commit in git with this trick.

· Sagar Sharma

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

Bash check prime number
Bash Practice Exercises

Check Prime Number

Here are a couple of bash scripts example to check whether a given number is prime or not.

· Abhishek Prakash

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

How to Keep a Container Running on Kubernetes
Kubernetes

How to Keep a Container Running on Kubernetes

In a situation where you have to keep a container running? Here are three methods to achieve that in Kubernetes.

· Umair Khurshid

Always use latest image with docker compose
Docker Tutorials

How to Make Docker-Compose to Always Use the Latest Image

Learn various methods for getting the latest images in Docker Compose.

· Umair Khurshid

Kubernetes
Kubernetes

List All Pods and Nodes in Kubernetes

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

· LHB Community

restart container with docker compose
Docker Tutorials

Restart a Single Container with Docker Compose

Restarting single container within a multi-container Docker Compose application helps during development or troubleshooting.

· Umair Khurshid

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

sar command usage in Linux
Tools

Using sar Command to Get System Resource Stats

Sar is CLI utility that tracks and records system resource utilization. Extremely helpful if you want to have a historical view of the resource usage.

· Helder

Infrastructure Monitoring
Tools

Consider These Four On Prem Infrastructure Monitoring Solutions

Looking for on-premise infrastructure monitoring solution recommendations? Here are a few suggestions you can give a try.

· Abhishek Prakash

killall co
Process Commands

killall Command Examples

The killall command helps you kill all the running instances of a process.

· Satoshi Nakamoto

Ansible Lineinfile Module
Ansible Modules

Ansible Lineinfile Module: Manage Lines in Text Files

Learn to use the lineinfile module of Ansible with these real world examples.

· LHB Community

Git Move Commit to Another Branch
Using Git

Git Move Commit to Another Branch

Sometimes you commit to an incorrect branch and now you want to move the commit to the correct branch. Here's how to handle the situation.

· Sagar Sharma

Undo Git Add
Using Git

Undo Git Add and Remove Files from Staging

Accidentally add a file that was not supposed to be added? If you have not made the commit yet, you can undo the git add and remove the file from staging.

· Sagar Sharma