Latest Tutorials

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 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

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

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
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

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

Clearing Pip Cache
Cleaning Pip cache helps you in troubleshooting and getting fresh Python packages.
ยท Sagar Sharma

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
Here are a couple of ways for reading file line by line in the Bash shell.
ยท Sagar Sharma

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 in One Go
In this quick, beginner's tip, learn to run multiple Linux commands one after another in a single command.
ยท Sagar Sharma

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
Learn various ways to check if a variable is empty in bash.
ยท Sagar Sharma

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

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

Get Array Length in Bash
In this quick bash tip, learn about calculating the array length.
ยท Sagar Sharma

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
System calls are an integral part of the Linux architecture. Learn about the most common types of system calls in Linux.
ยท Sagar Sharma

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
Here is a quick Linux command tips on deleting the contents of a directory, not the directory itself.
ยท Abhishek Prakash

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

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
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 SSO With Discourse Forum
Here's a step by step tutorial to integrate your Ghost members' sign-in with your Discourse forum.
ยท Abhishek Prakash