Skip to main content

Latest Tutorials

Latest
gcc vs g++ compilers
Explain

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

Python multiline comments
Python

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
DevOps

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

Listing USB devices in Linux
Tips

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

Dealing with RAR files in Linux command line
Tips

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 bash shell script in Linux command line
Bash Tips

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 based on size
Tips

Sort du Command Output by Size

Learn to use the du command with sorted output based on size.

ยท Sagar Sharma

GitLab server with PostgreSQL
Tutorial

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

finger Command in Linux

Get logged in user information with the classic finger command in Linux.

ยท Sagar Sharma

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