Category

Linux Tutorials and Command Line Guides

Learn Linux with step-by-step tutorials, command line examples, and system administration guides for Ubuntu, RHEL, CentOS, and more.

Welcome to the Linux tutorials section, your complete resource for mastering Linux commands and system administration.

This category covers everything from basic commands to advanced system-level operations across multiple distributions such as Ubuntu, RHEL, and CentOS.

Linux is the backbone of modern infrastructure, and understanding it is essential for DevOps, cloud computing, and system administration. You may also explore System Administration and Security for advanced topics.

Browse by distribution using the cards below, or scroll to see all Linux articles.

382 articles

Linux category illustration with terminal, commands, permissions, and troubleshooting features

Browse by distribution

Choose your Linux distribution to see install guides and configuration tutorials written for that OS.

All Linux articles

linux

How to setup proxychains for 100% anonymity [Step-by-Step]

Hello learners, in this guide we will setup proxychains when using the internet to ensure anonymity. Proxychains is a tool used by both black hat and white

Kennedy Muthii5 min read
linux

Setup BIND DNS Server in Rocky Linux 8

Step by Step instructions to setup and configure bind dns server using chroot environment in Rocky Linux 8. The chroot environment is used to further secure the DNS Server

Deepak Prasad10 min read
linux

How to Install Ubuntu on USB Drive? [100% Working]

Ubuntu is a popular open-source operating system that is widely used in the Linux community. One of the great features of Ubuntu is that it can be installed

Omer Cakmak3 min read
linux

How to PROPERLY disable IPv6 on Ubuntu? [SOLVED]

Today, operating systems also support ipv6. However, when ipv6 is not widely used yet, it may cause problems if it is active in the system. Therefore, it

Omer Cakmak5 min read
linux

Set up KVM PXE server to perform network boot RHEL CentOS 8

Step-by-Step tutorial to setup KVM PXE Server to perform qemu netboot for Virtual machines. Use virt-install pxe to network boot KVM Virtual Machines in Linux

Deepak Prasad13 min read
linux

How to create or configure network bridge in CentOS / RHEL 7/8

configure network bridge by this step by step guide on CentOS or RHEL 7 linux, configure network bridge using NetworkManager TUI, nmtui.

Deepak Prasad6 min read
linux

Samba Active Directory Setup

Step by step instructions to setup Samba Active Directory on Rocky Linux 8. Join WIndows Client to Samba Domain Controller

Deepak Prasad10 min read
linux

Solved: DHCPDISCOVER fails with 'no free leases' in Linux

You can fix the no free leases error from DHCPDISCOVER by either add more IP address to the range or by cleaning up the lease files for unused entries

Deepak Prasad5 min read
linux

Solved: Change MAC Address in Linux [Temp & Persistent]

Step by Step instructions to change MAC address in Linux. Both temporary and permanent to survive reboot. Assign random or custom defined MAC Address with examples.

Deepak Prasad7 min read
linux

Execute long running commands over SSH

Learn how to execute long running commands over SSH to manage remote systems effectively. Discover methods like nohup, setsid, byobu, and disown, and redirect output to ensure uninterrupted execution.

Deepak Prasad8 min read
linux

Setup Master Slave BIND DNS server Rocky Linux 8

Step by Step instructions to configure Master Slave BIND DNS Server on Rocky Linux 8.

Deepak Prasad9 min read
linux

A Complete Guide To Magento Security

When you dive into the realm of eСommerce, Magento is a name that frequently pops up, standing out as a cornerstone in the industry. But with great power

Deepak Prasad8 min read
linux

Step-by-Step: Upgrade multiple HPE VC firmware with SUM

Step by step guide to upgrade multiple HPE VC firmware (Virtual Connect) using Smart Update Manager. Perform parallel upgrade of the VC using SUM.

Deepak Prasad10 min read
linux

How to set GRUB2 password using grub2-setpassword (RHEL / CentOS 7)

Steps to set grub2 password using grub2-setpassword for unautorized modification of grub2 entries. Also steps to remove grub2 password from rhel /centos 7

Deepak Prasad3 min read
linux

How to change IO scheduler permanently in Linux

Steps to change IO scheduler permanently in Linux using tuned profile and grub2 kernel or you can change IO scheduler using /sys/block/sdX/queue/scheduler

Deepak Prasad3 min read
linux

/etc/network/interfaces missing in Ubuntu

If you are using Ubuntu, you must have encountered the "/etc/network/interfaces missing" error. Because Ubuntu 18.04 and above uses netplan to configure your

Omer Cakmak4 min read
linux

Linux find File using the command-line [8 Different Ways]

In this tutorial we have covered 8 different methods to find file in Linux using filename, file extension, file type, file size, file's modification date, file permission, file ownership etc

Deepak Prasad8 min read
linux

Best practices to update kernel-core in RHEL/CentOS 8

Steps and best practices to update kernel-core and kernel-modules in Red Hat or CentOS 8 using yum and dnf. List and verify default kernel version

Deepak Prasad8 min read
linux

Install MongoDB on Rocky Linux 8.4 (Step-by-Step)

In this tutorial we will cover the steps to install MongoDB on Rocky Linux.

Deepak Prasad5 min read
linux

Install & Configure FreeIPA Server in RHEL/CentOS 8

steps to install and configure freeipa server in rhel 8 the packages necessary for installing an Identity Management server are shipped with IDM server module

Deepak Prasad16 min read
linux

Install Oh My Zsh on Linux [Step-by-Step]

Step by Step instructions to install Oh My Zsh on different Linux distributions such as Ubuntu, Red Hat, CentOS, Debian, OpenSuSE, Arch Linux

Omer Cakmak4 min read
linux

Convert CentOS 8 to Rocky Linux 8

As you know, CentOS Linux 8 became the end of life on 31 Dec 2021. It will now continue its life as CentOS Stream 8. Many people/organizations using CentOS

Omer Cakmak5 min read
linux

bash: curl: command not found

The most common causes for bash: curl: command not found error is either curl package is not installed or the PATH variable does not contain the path to curl tool.

Omer Cakmak3 min read
linux

Setup Grafana with Prometheus Rocky Linux 8

In this guide, we shall setup Grafana with Prometheus on Rocky Linux 8, we will use Grafana instance on the same server so that we can visualize metrics populated by the Prometheus service.

Deepak Prasad8 min read
linux

How to Enable Wake-on-LAN in Ubuntu 22.04? [SOLVED]

In this article we will tell you how to enable Wake-on-LAN in Ubuntu and example usage.

Omer Cakmak4 min read
linux

How to properly remove old kernels RHEL/CentOS 8

You can now use dnf command to remove old kernels from RHEL/CentOS 8 Linux. package-cleanup doesn't work any more. Use oldinstallonly with installonly_limit

Deepak Prasad5 min read
linux

Install MongoDB on AlmaLinux 8 [Step-by-Step]

Step by Step instructions to install mongodb on AlmaLinux 8. Access mongodb shell, create admin user, establish a connection with mongodb server using a different client. configure firewall and selinux

Deepak Prasad5 min read
linux

Could not resolve host: mirrors.rockylinux.org

3 possible solutions to Could not resolve host: mirrors.rockylinux.org and Failed to connect to mirrors.rockylinux.org port 443: Connection timed out

Omer Cakmak6 min read
linux

Install Rancher on Rocky Linux 9 [Step-by-Step]

Step by step instructions to install rancher on Rocky Linux 9 with screenshots.

Omer Cakmak6 min read
linux

Complete tutorial on tmux commands with examples from scratch

In this tutorial I will cover the basics of tmux from scratch using various tmux commands to create session, windows, splitting panes, killing session etc

Deepak Prasad13 min read