Skip to main content

Latest Tutorials

Latest
Explaining the meaning of <, << and <<< symbols in Linux
Explain

What do <, << and <<< mean in Linux?

The <, << and <<< look similar to redirection indicators but they have a different purpose. Learn about them.

ยท Sagar Sharma

bc command
Commands

bc Command in Linux

The bc command is used for precision calculation. You are more likely to use it for floating point operations in bash scripts.

ยท Sagar Sharma

While loop in bash
Bash Tips

Use While Loop in Bash

Learn to use the while loop in bash with practical examples in this tutorial.

ยท Sagar Sharma

Find directory in Linux
Tips

Find a Directory in Linux

Here are various ways you can use the find command to look for directories with specific parameters.

ยท Sagar Sharma

Until loop in bash
Bash Tips

Using Until Loop in Bash

While for maybe the most popular bash loop, wait until you discover until. Pun intended :)

ยท Sagar Sharma

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