Skip to main content

Latest Tutorials

Latest
Save curl output to file
Tips

How to Save cURL Output to a File?

Learn to save the curl command output to a file for later usage in this quick tutorial.

ยท Sagar Sharma

Switch branches in Git
Using Git

Switching Branches in Git

Here are a few examples to show you how to list local and remote branches and switch between those branches.

ยท Pratham Patel

Get directory location in Bash
Bash Tips

Get Script Directory Location in Bash

Here are a couple of ways of getting the directory location of your bash script inside the bash script.

ยท Sagar Sharma

Scheduling shutdown in Linux

Schedule a Shutdown in Linux Command Line

Learn to schedule a shutdown in Linux. Also explore routine shutdowns using cron jobs and systemd-timers.

ยท Pranav Krishna

Increment decrement counters in Bash
Bash Tips

Various Ways to Increment or Decrement Counters in Bash

Working with loops in bash? Here are various ways of incrementing and decrementing counters.

ยท Sagar Sharma

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