Skip to main content

Latest Tutorials

Latest
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

System calls in Linux
Explain

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 process in Linux
Process Handling

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 command line
Quick Tip

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 in container
Doing Things in Docker

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

Arrays in bash
Bash Tips

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

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 with Discourse
Tutorial

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

tmp directory in Linux
Tips

Everything Essential About the tmp Directory in Linux

Learn some crucial things about the /tmp directory. You'll also learn how it is different from the /var/tmp directory.

ยท Sagar Sharma

Run Python scripts in Linux
Python

Run Python Scripts in Linux Command Line

This quick tip shows how to run Python programs from the Linux command line.

ยท Pratham Patel

Moving Around in Vim
Vim Tips

Moving Around in Vim

Learn to navigate through the text, lines and file in Vim.

ยท Abhishek Prakash

Vim modes
Vim Tips

Understand Vim Modes

Vim has three different modes for handling user input and processing them.

ยท Abhishek Prakash

$0 in Bash
Bash Tips

What is $0 in a Bash Script?

Get familiar with the special variable $0 in Bash and learn its usage.

ยท Sagar Sharma

See running process in Linux
Process Handling

Check Running Process in Linux

Want to know what all processes are running on your systems? Here's how to get details of the running processes in Linux.

ยท Pratham Patel

Setup Username and Email in Git
Using Git

Setup Username and Email in Git

Git asking you "please tell me who you are"? You need to set up the git username and email. Here's how to do that.

ยท Abhishek Prakash

Force Linux User to Change Password at Next Login
Quick Tip

Force Linux User to Change Password at Next Login

Think the passwords need to be changed by a certain user? Here's how to force a Linux user to change the password at the next login.

ยท Sagar Sharma

chattr command in Linux
File Properties Commands

chattr Command Examples

With chattr command, you can make a file 'undeletable' even by root. Here are some common usage of the chattr command in Linux.

ยท Sagar Sharma

Bash special variables
Bash Tips

Special Variables in Bash Shell Scripting

The bash shell has some special variables that have specific usages and purposes. Learn more about them here.

ยท Sagar Sharma