Skip to main content

Latest Tutorials

Latest
Print Execution Time of Shell Script in Linux
Tips

Print Execution Time of Shell Script in Linux

This quick tutorial teaches you how to display the execution time of a shell script in Linux.

· Abhishek Prakash

How to Setup Discourse Forum on Digital Ocean
Tutorial

How to Setup Discourse Forum on Digital Ocean

This step-by-step tutorial teaches you to install a Discourse forum on Digital Ocean cloud server properly. You'll have a functioning SMTP server with a free SSL installed on your forum.

· Abhishek Prakash

echo command in Linux
Commands

echo Command in Linux: 7 Practical Examples

Learn to use the echo command in Linux with these simple but useful examples. The echo command is useful for displaying information in bash shell scripts.

· Abhishek Prakash

file command in Linux
File Properties Commands

file Command Examples

Here are various examples of the file command in Linux to determine the actual type of file and gather related information.

· Abhishek Prakash

Linux command line
Tips

How to Empty a Log File in Linux

In this tutorial, you'll learn various ways to truncate a log file and delete its content without deleting the file itself.

· Abhishek Prakash

which Command Examples
File Searching Commands

which Command Examples

Linux which command is an extremely useful command for locating executable files located anywhere in the Linux system. Learn how to use it.

· Abhishek Prakash

Get Rid of Network Connectivity Issues in SSH with Mosh
SSH Tutorials

Get Rid of Network Connectivity Issues in SSH with Mosh

Struggling with SSH connection over a slow and inconsistent network? Mosh overcomes the shortcomings of SSH by giving you a steady connection over SSH.

· seeni

Count number of files in Linux
Tips

Count Number of Files in a Directory in Linux

Here are several ways to count the number of files in a directory in Linux command line.

· Abhishek Prakash

Bash shell
Bash Tips

How to Split String in Bash Script

In this quick tip, you'll learn to split a string into an array in Bash script.

· Abhishek Prakash

Configuring Graylog Server to Manage Logs on Linux
DevOps

Configuring Graylog Server to Manage Logs on Linux

Open Source Graylog server allows you to gather logs from different sources and visualize the logs in a web interface. Learn how to configure Graylog server.

· LHB Community

Linux Handbook
Tips

Running Linux Commands in Background and Foreground

Learn how to run commands in background in Linux. You'll also learn how to bring the background jobs back to foreground.

· Abhishek Prakash

How to Copy a Directory in Linux Command Line [Beginner's Tip]

How to Copy a Directory in Linux Command Line [Beginner's Tip]

This quick tip for beginners demonstrates how to copy a directory in Linux using the cp command. You'll also learn a few additional tips around copying directory.

· Abhishek Prakash

du command in Linux
File Properties Commands

du Command Examples

The du command in Linux is used for checking the size of directory. Here are various ways you can find the size of directory in Linux with the du command.

· Abhishek Prakash

How to Find Which Shell You Are Using on Linux
Tips

How to Find Which Shell You Are Using on Linux

Here are four simple commands to find out which shell are you using in Linux.

· Abhishek Prakash

Python
Python

3 Ways to Write a List to a File in Python

This quick tutorial demonstrates three methods to write a list to a file in Python scripting language.

· Abhishek Prakash

How to gzip a Directory in Linux
Tips

How to gzip a Directory in Linux

Trying to gzip a directory and seeing an error in Linux? Here's the command (with explanation) to gzip compress a folder in Linux terminal.

· Abhishek Prakash

Rename multiple files in Linux command line
Tips

How to Rename Multiple Files at Once in Linux

Rename command can be used to rename multiple files in Linux at once. Here are some practical scenarios in which you can use the rename command.

· Abhishek Prakash

Create text file in Linux terminal
Tips

4 Ways to Create a Text File in Linux Terminal

In this Linux beginner series, you'll learn various methods to create a file in Linux terminal.

· Abhishek Prakash

Get website's IP address in Linux
Tips

How to Find the IP Address of a Website in Linux

Wondering how to get the IP address of a website in Linux? Here are 3 command line utilities to query the DNS and get you the IP address and other details.

· Abhishek Prakash

Networking commands in Linux
Tips

How to Find Default Gateway IP in Linux

This quick Linux tip shows various methods to find gateway IP address of your router in Linux command line.

· Abhishek Prakash

Buildah
DevOps

Getting Started With Buildah for Managing Linux Containers

Buildah is used to create, build, manage, run container images as well as containers. It can be used with Docker, Podman, Kubernetes! Let's get started with Buildah.

· LHB Community

Find ip address in Linux
Tips

How to Find IP Address in Linux Command Line

How do I find out the IP address of in Linux ? It's a common question for a number of Linux users. Here are multiple ways to get the IP of host system in Linux.

· Abhishek Prakash

Check memory usage in Linux
System Info

How to Check Memory Usage in Linux? Use These 5 Commands

Knowing the memory utilization is an important part of system maintenance. You’ll learn various commands you can use to check memory usage in Linux.

· Helder

Fail2ban setup guide
Guides

Secure Your Linux Server With Fail2Ban [Beginner's Guide]

This detailed guide teaches you what is Fail2Ban, how to configure it and how to use it for providing an additional layer of security on your Linux system.

· Abhishek Prakash

Fixing 'sudo: unable to resolve host' Error in Linux
Troubleshooting

Fixing 'sudo: unable to resolve host' Error in Linux

This quick tutorial will show you how to fix 'sudo: unable to resolve host hostname' error in Ubuntu or any other Linux distribution.

· Abhishek Prakash

bash
Bash Tips

How to Compare Strings in Bash Shell Scripting

In this tutorial you'll learn how to compare strings in bash shell scripts.You'll also learn to check if a string is empty or null.

· Abhishek Prakash

How to Update Kali Linux With One Single Command
Tips

How to Update Kali Linux With One Single Command

Learn to update a Kali Linux system in one single command. Yes, it's that easy and straight forward.

· Abhishek Prakash

Change the shell in Linux
Tips

How to Change Shell in Linux

This quick tutorial shows how to check the running shell, available shell in the system and how to change the default shell in Linux.

· Abhishek Prakash

GitLab Jenkins and SonarQube
DevOps

Setting up Continuous Integration With GitLab, Jenkins and SonarQube

Set up continuous integration between GitLab, Jenkins and SonarQube and view the quality reports of GitLab repository codes at SonarQube by using jenkins.

· LHB Community

Alias command in Linux
Tips

Using alias Command in Linux to Improve Your Efficiency

Alias command in Linux saves a lot of your time and improves your efficiency. Learn how to use this command properly and see some of the common aliases I use.

· Helder