Category

Linux Tutorials and Command Line Guides - Page 11

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 — RHEL family (RHEL, Rocky Linux, AlmaLinux, CentOS, Fedora) and individual APT-based hubs (Ubuntu, Debian, Kali Linux, Linux Mint) — then see featured articles and the full article list.

639 articles

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

All Linux articles

system-administration

Run systemd Service as a Specific User and Group in Linux

Create a system-level systemd service that starts at boot and runs as a dedicated non-root user and group on Ubuntu, Debian, Fedora, RHEL, Rocky Linux, AlmaLinux, CentOS Stream and Oracle Linux.

Deepak Prasad16 min read
linux

Secure BIND Zone Transfers with TSIG on RHEL-Based Linux

Learn how to secure BIND primary-to-secondary DNS zone transfers with TSIG on RHEL, Rocky Linux, AlmaLinux, and CentOS Stream using HMAC-SHA256.

Deepak Prasad11 min read
linux

How to Restart or Reload Cron in Linux (Ubuntu, Debian, RHEL)

Restart or reload cron in Linux with systemctl restart cron on Ubuntu and Debian or crond on RHEL and Rocky Linux, and when a reload is actually needed.

Omer Cakmak11 min read
linux

Restart or Reload Network on RHEL, Rocky Linux, AlmaLinux and Fedora

Learn which command to use to restart, reload, or reconnect networking on RHEL, Rocky Linux, AlmaLinux, CentOS Stream, Oracle Linux, and Fedora—from nmcli reload to legacy network.service workflows.

Deepak Prasad13 min read
linux

RPM vs DEB Packages: Differences, Commands and Which Format Linux Uses

Compare RPM and DEB Linux packages, including package structure, metadata, dependencies, scripts, signatures, installation commands, querying, repositories, conversion risks and supported distributions.

Deepak Prasad14 min read
linux

RHEL Family vs Debian Family: RPM, DEB, DNF, APT and Server Differences

Compare the RHEL and Debian Linux families, including RPM vs DEB, DNF vs APT, repositories, release models, lifecycle, security, support, configuration, cloud images and server use cases.

Deepak Prasad17 min read
linux

Rocky Linux vs AlmaLinux vs RHEL: Differences, Support and Compatibility

Compare Rocky Linux, AlmaLinux and Red Hat Enterprise Linux by compatibility policy, governance, repositories, support, lifecycle, certifications, migration paths and production use cases.

Deepak Prasad15 min read
linux

Fedora vs CentOS Stream vs RHEL: Differences and Development Flow

Compare Fedora, CentOS Stream and Red Hat Enterprise Linux, including their development flow, release lifecycle, package freshness, stability, support, subscriptions, repositories and best use cases.

Deepak Prasad15 min read
linux

Linux, Unix and Linux Distros Explained: Ubuntu, Debian, RHEL, Fedora and Arch

Learn how Unix, Linux, GNU/Linux and Linux distributions relate, why Ubuntu, Debian, Fedora, RHEL, Rocky Linux and Arch differ beyond desktop themes, and how to identify your distro from the shell.

Deepak Prasad16 min read
linux

Install Java on RHEL, Rocky Linux, AlmaLinux and Fedora

Install Java on RHEL, Rocky Linux, AlmaLinux, CentOS Stream, Oracle Linux, or Fedora using OpenJDK, Eclipse Temurin, or Oracle JDK, then configure alternatives, JAVA_HOME, updates, verification, and uninstall.

Deepak Prasad13 min read
linux

Install JasperReports Server on RHEL, Rocky Linux, AlmaLinux and Fedora

Install JasperReports Server on RHEL, Rocky Linux, AlmaLinux, CentOS Stream, Oracle Linux, or Fedora using the evaluation binary installer with bundled components or a production WAR deployment on supported Tomcat and …

Omer Cakmak21 min read
linux

How to Install EPEL Repo on RHEL, Rocky Linux, AlmaLinux, CentOS Stream and Oracle Linux

Install EPEL on RHEL 8–10, Rocky Linux, AlmaLinux, CentOS Stream and Oracle Linux. Enable CRB or PowerTools, verify EPEL and fix repository errors.

Deepak Prasad14 min read
linux

Change the Default Kernel on RHEL, Rocky Linux, AlmaLinux and Fedora

Use grubby on RHEL, Rocky Linux, AlmaLinux, CentOS Stream, Oracle Linux, and Fedora to check the running kernel, pick a persistent default, and verify the choice before reboot.

Deepak Prasad10 min read
linux

DNF4 vs DNF5: Command Differences and Script Migration Guide

Compare DNF4 and DNF5 command differences, plugins, history syntax, and group handling, and learn what to change in scripts before your distribution moves to DNF5.

Deepak Prasad13 min read
linux

How to Download RPM Packages with All Dependencies Using DNF

Download RPM packages with all dependencies using DNF on RHEL, Rocky Linux, AlmaLinux, Fedora, CentOS Stream, and Oracle Linux for offline installation.

Deepak Prasad16 min read
linux

Fix curl SSL Certificate Problem Behind Corporate Proxy on Linux

Fix curl error 60 and similar HTTPS failures on Linux when corporate SSL inspection replaces public certificates with a private root CA trusted on Windows but missing from the Linux trust store.

Deepak Prasad15 min read
linux

How to List Users in Linux (getent, passwd, who, id)

List users in Linux with getent, /etc/passwd, who, and id. Filter normal and system accounts, see logged-in sessions, and check whether a user exists on Ubuntu and RHEL.

Deepak Prasad9 min read
security

How to View a Certificate with OpenSSL (PEM, CER, Chain, Bundle)

Use OpenSSL to view PEM, CRT, CER, chain, bundle, PFX, and P7B certificates. Check expiry, SAN, fingerprint, remote TLS certs, and verify chains.

Deepak Prasad13 min read
linux

How to List Groups in Linux and Check User Group Membership

List groups in Linux with getent, groups, id, and /etc/group. Check user group membership, list group members, and compare primary vs supplementary groups.

Deepak Prasad10 min read
linux

Set up Proxy using http_proxy, https_proxy and no_proxy in Linux

Learn how to configure http_proxy, https_proxy and no_proxy environment variables in Linux temporarily, permanently, system-wide, and for tools like curl, wget, apt, git and Docker.

Deepak Prasad10 min read
linux

How to Install Node.js on Ubuntu

Install Node.js on Ubuntu with apt nodejs, NodeSource setup scripts, NVM for multiple versions, or the official nodejs.org linux-x64 tar.xz under /opt, verify with node --version and npm --version, and uninstall per …

Deepak Prasad10 min read
security

Automate keytool Certificate Import in Bash Safely

Back up a PKCS12 truststore, check the keytool alias and SHA-256 fingerprint, import a CA only when missing, and exit cleanly for Ansible, systemd, and CI pipelines.

Deepak Prasad9 min read
security

Sign and Verify a JAR File with keytool and jarsigner

Create a code-signing keypair with keytool, sign a sample JAR with jarsigner, verify the signature, and read the PKIX chain warnings jarsigner prints for a self-signed certificate.

Deepak Prasad11 min read
security

Create Java mTLS Keystore and Truststore with keytool

Create Java mTLS keystore and truststore files with keytool and OpenSSL, then run a mutual TLS HttpsServer lab that fails without a client cert and succeeds.

Deepak Prasad12 min read
security

How to Configure Java javax.net.ssl.trustStore and keyStore Properties

Set javax.net.ssl.trustStore and keyStore JVM properties after building a PKCS12 file with keytool: property names, -D flags, JAVA_TOOL_OPTIONS, and a lab that fails without trustStore then succeeds.

Deepak Prasad11 min read
security

How to Import Certificates into App-Specific Java Truststores

Fix PKIX after importing into the wrong cacerts. Find the Java truststore your app actually uses, including bundled JRE cacerts, and import with keytool.

Deepak Prasad11 min read
security

Renew or Replace an Expired Certificate in an Existing Java Keystore

Renew an expired TLS certificate in an existing Java PKCS12 keystore by checking expiry with keytool -list -v, exporting a CSR from the same alias, and importing the CA-signed reply without deleting the private key.

Deepak Prasad9 min read
security

Fix keytool Invalid keystore format Error

Fix keytool Invalid keystore format by matching JKS or PKCS12 storetype to the file, avoiding PEM certificates as keystores, and repairing empty or corrupt keystore paths.

Deepak Prasad11 min read
security

Add Java Truststore in Docker and Kubernetes Using keytool

Build a custom PKCS12 Java truststore with keytool for Docker and Kubernetes: RUN importcert in the image, set JAVA_TOOL_OPTIONS with trustStoreType=PKCS12, or use an initContainer with a mounted CA Secret and emptyDir …

Deepak Prasad10 min read
security

How to Find the Correct Java cacerts File Used by an Application

Find which Java cacerts file your application actually uses: compare JAVA_HOME, java.home, bundled JRE paths, and javax.net.ssl.trustStore overrides before importing a CA certificate.

Deepak Prasad12 min read