Skip to main content

Latest Tutorials

Latest
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

git push empty commit
Using Git

Push an Empty Commit in Git

Yes, you can totally push an empty commit in Git if you really want to. Here's how to do that.

ยท Sagar Sharma

dot git folder
Using Git

What is the .git folder?

See the .git folder in your project directory and wonder what it is about. Let me explain all about it.

ยท Sagar Sharma

OOM Killer in Linux
Explain

Understanding Out of Memory Killer (OOM Killer) in Linux

Learn about Linux kernel's out of memory management handling mechanism.

ยท Abhishek Prakash

firewalld-cmd command examples
Network Monitoring Commands

firewalld-cmd Command Examples

The firewall-cmd command line tool lets you interact and manage the firewalld firewall in Linux. Here's how to use this command.

ยท LHB Community

umount command in Linux
Disk Management

umount Command in Linux

Learn some practical examples of using umount command to unmount the mounted disk partitions in Linux command line.

ยท Sagar Sharma

pkill command
Process Commands

pkill command in Linux

Learn various ways of using the pkill command to terminate a process by its name.

ยท Sagar Sharma

Ansible Apt Module
Ansible Modules

Ansible Apt Module: Manage Ubuntu and Debian Packages

Ansible's built-in APT module lets you manage packages on Ubuntu and Debian based nodes.

ยท Umair Khurshid

handle long running tasks with Ansible
Ansible Tutorials

How to Handle Long Running Tasks in Ansible

Facing timeouts? Here is how you can handle tasks that take a long time to complete in Ansible.

ยท LHB Community

Bash script factorial
Bash Practice Exercises

Calculate Factorial of a Number

Here are a few sample example bash scripts to display the Fibonacci sequence based on a given input.

ยท Abhishek Prakash

Fibonacci Series Bash Sript
Bash Practice Exercises

Display Fibonacci Series

Here are a few sample example bash scripts to display the Fibonacci sequence based on a given input.

ยท Abhishek Prakash

delete lines in nano
Nano Essentials

Deleting Lines in Nano

Here's all you need to know about deleting single, multiple or all lines in Nano editor.

ยท Abhishek Prakash

Search and replace text in Nano
Nano Essentials

Search and Replace in Nano

Like any other editor, Nano provides the search and replace feature. Here's how to use it.

ยท Abhishek Prakash

ddrescue
Tips

How I Use ddrescue Command to Recover Data from Failing Hard Disk in Linux

The ddrescue utility is a Linux command-line tool for recovering data from (almost) broken hard drives. Here's how I use it.

ยท LHB Community

Cut, copy and paste in Nano editor
Nano Essentials

Cut, Copy and Paste in Nano

While Nano is more beginner-friendly than Vim and Emacs, you still need to know the keyboard shortcuts for even the basic operations such as cut, copy and paste in Nano.

ยท Abhishek Prakash

Undo and redo in Nano editor
Nano Essentials

Undo and Redo in Nano Editor

To err is human. To correct them is a smart human.

ยท Abhishek Prakash

Moving Around in Nano Editor
Nano Essentials

Moving Around in Nano Editor

Moving around in Nano cannot be simpler. Just use the arrow keys or the mouse wheel, whichever you prefer.

ยท Abhishek Prakash

Save and exit Nano Editor
Nano Essentials

Save and Exit Files in Nano

New to Linux and Nano and don't know how to save or exit the editor? Here's what you need to know.

ยท Abhishek Prakash

Editing files in nano editor
Nano Essentials

Open a File for Editing in Nano

In the first chapter of the Nano series, learn to open existing or new files with Nano editor.

ยท Abhishek Prakash

Ansible Dry Run
Ansible Tutorials

Ansible Dry Run: Running Playbook in Check Mode

Not sure of things with your playbook? Here's how you can test your Ansible playbook by using the dry run feature.

ยท LHB Community

ansible shell module
Ansible Modules

Ansible Shell Module: Execute Shell Commands on Target Systems

Shell module in Ansible is a powerful tool for executing shell commands on remote hosts, but it comes with maintenance risks.

ยท LHB Community