Skip to main content

Latest Tutorials

Latest
lshw Linux command gives you hardware details of your system
Commands

lshw Command in Linux: Get Hardware Details

The lshw command lists the hardware details of your Linux system. You can categorize it to get details on different kinds of hardware.

ยท Sagar Sharma

Exclude folders from rsync backup
Tips

Exclude Files and Directories from rsync

Want to exclude files and directories while making backup with rsync? Here's how to use the --exclude flag of rsync command.

ยท Abhishek Prakash

Save Linux command output to text file
Tips

Redirect Linux Command Output to File

Want to analyze the effect of Linux command for later? Here's how you can save Linux command output to a file.

ยท Sagar Sharma

google analytics alternative
Tools

10 Google Analytics Alternatives for Your Websites

It is not that complicated to switch away from Google Analytics with these options. You can opt for a free self-hosted one or go for a paid one as per your requirements.

ยท Ankush Das

Shell built-in commands list
Commands

Shell Built-in Commands

In Linux, there are shell built-in commands which you are already using but never paid attention to. Learn more about them in this tutorial.

ยท Sagar Sharma

Automatically Update AWS ECR Token in Kubernetes with CronJobs
DevOps

How to Automatically Update AWS ECR Token in Kubernetes with CronJobs

The ECR token expires every 12 hours. Learn to automatically use Kubernetes CronJobs to update the ECR token in your clusters or namespaces.

ยท LHB Community

Clear PIP cache
Tips

Clearing Pip Cache

Cleaning Pip cache helps you in troubleshooting and getting fresh Python packages.

ยท Sagar Sharma

Use autocomplete in Vim
Vim Tips

Using Autocomplete in Vim

Autocompletion is a great way of being more efficient as a Vim user. Learn various ways of using auto-completion in Vim.

ยท Pratham Patel

Read file line by line in Bash
Bash Tips

Read File Line by Line in Bash

Here are a couple of ways for reading file line by line in the Bash shell.

ยท Sagar Sharma

Bash Trap Command
Commands

Trap: A Shell built-in Command

Trap is a shell built-in command that is used to catch any supported signal and react upon it.

ยท Pratham Patel

Run Multiple Linux Commands
Tips

Run Multiple Linux Commands in One Go

In this quick, beginner's tip, learn to run multiple Linux commands one after another in a single command.

ยท Sagar Sharma

For Loop with Array in Bash
Bash Tips

Use For Loop With Array in Bash

In this Bash scripting example, learn how to use for loop with arrays.

ยท Sagar Sharma

Check if variable is empty in Bash
Bash Tips

Check if Variable is Empty in Bash

Learn various ways to check if a variable is empty in bash.

ยท Sagar Sharma

Systemctl check service Status
Quick Tip

Use Systemctl Status Command to Check Service Status

Learn how to check and understand the status of a systemd service using the systemctl command.

ยท Sagar Sharma

Unstage files in Git
Using Git

How to Unstage Files in Git

Accidentally added a file in the latest commit? Don't worry too much. Here is how you can unstage a file in Git.

ยท Pratham Patel

Bash array length
Bash Tips

Get Array Length in Bash

In this quick bash tip, learn about calculating the array length.

ยท Sagar Sharma

vimdiff
Vim Tips

Use vimdiff Like a Vim Pro

Want to see the difference between two files? Normal users use diff command. Pro Vim users go for vimdiff.

ยท Pratham Patel

System calls in Linux
Explain

System Calls in Linux

System calls are an integral part of the Linux architecture. Learn about the most common types of system calls in Linux.

ยท Sagar Sharma

Suspend process in Linux
Process Handling

Suspend and Resume Processes in Linux

Learn how to suspend a running process in the Linux command line. Also learn how to resume a stopped process.

ยท Sagar Sharma

Delete all files of a directory in Linux command line
Quick Tip

Delete All Files of a Directory in Linux

Here is a quick Linux command tips on deleting the contents of a directory, not the directory itself.

ยท Abhishek Prakash

Run Linux commands in container
Doing Things in Docker

Run Linux Commands Inside Containers With Docker Compose

Here are various ways you run Linux commands inside Docker Containers, with or without entering them. Moreover, learn how to do that from any directory in Linux.

ยท Avimanyu Bandyopadhyay

Arrays in bash
Bash Tips

Appending to Arrays in Bash

In this quick Bash tip, you'll learn about appending to an existing array in bash.

ยท Sagar Sharma

Using exec command in Bash shell scripts
Bash Tips

Using exec Command in Bash Shell Scripts

The exec command in shell scripts is super useful for logging, reading from files and running commands by replacing the current process.

ยท Sagar Sharma

Integrating Ghost with Discourse
Tutorial

Integrating Ghost SSO With Discourse Forum

Here's a step by step tutorial to integrate your Ghost members' sign-in with your Discourse forum.

ยท Abhishek Prakash