Latest Tutorials

gcc vs g++: What's the Difference?
gcc and g++ compilers work quite similar when it comes to compiling C programs in Linux. Here's how they are different from each other.
ยท Sagar Sharma

Add Multiline Comments in Python
Python does not support multiline comments by default. However, you can use the docstring feature to achieve that.
ยท Prakhar Tiwari

Jenkins on EC2: Automating Deployment with Terraform
Configuring Jenkins on AWS can be a tedious and error-prone process. Automate the installation of Jenkins on an AWS EC2 instance using Terraform.
ยท LHB Community

How to List USB Devices in Linux
Want to identify the USB devices connected to your system? Here are multiple ways to list USB devices in Linux command line.
ยท Sagar Sharma

How to Extract and Create RAR Files in Linux
Got an RAR file? Learn to extract the rar file in the Linux command line. Also learn to create a RAR file in this quick tutorial.
ยท Abhishek Prakash

Run a Bash Shell Script in Linux Command Line [Beginner's Tip]
Running a bash shell script is quite simple. But you also get to learn about running them in the shell instead of subshell in this tutorial.
ยท Pranav Krishna

Sort du Command Output by Size
Learn to use the du command with sorted output based on size.
ยท Sagar Sharma

Installing a Private GitLab CE Server with PostgreSQL
Here's a tutorial for setting up a private GitLab server with PostgreSQL database and a replica server for database failover.
ยท LHB Community

finger Command in Linux
Get logged in user information with the classic finger command in Linux.
ยท Sagar Sharma

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

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

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

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

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

Use While Loop in Bash
Learn to use the while loop in bash with practical examples in this tutorial.
ยท Sagar Sharma

Find a Directory in Linux
Here are various ways you can use the find command to look for directories with specific parameters.
ยท Sagar Sharma

Using Until Loop in Bash
While for maybe the most popular bash loop, wait until you discover until. Pun intended :)
ยท Sagar Sharma