Category

Linux Tutorials and Command Line Guides - Page 2

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

linux

How to Install cURL on Ubuntu

Install cURL on Ubuntu 26.04, 24.04, or 22.04 with APT, verify HTTPS access and package versions, understand curl vs libcurl, and safely update or remove curl.

Omer Cakmak9 min read
linux

How to Install Caddy Web Server on Ubuntu

Install Caddy on Ubuntu 26.04 or 24.04 from the official APT repository, verify caddy.service, serve a static site with a Caddyfile, open UFW ports 80 and 443, and enable automatic HTTPS for a public domain or localhost.

Omer Cakmak16 min read
linux

How to Install CMake on Ubuntu

Install CMake on Ubuntu 26.04, 24.04, or 22.04 with apt, Kitware's repository, Snap, or official binaries, and verify which CMake version your project needs with cmake --version and a minimal C++ build.

Omer Cakmak16 min read
linux

How to Install ClamAV on Ubuntu

Install ClamAV on Ubuntu 26.04, 24.04, and 22.04, keep malware signatures current with FreshClam, verify detection with the EICAR test file, and choose clamscan or clamdscan for on-demand scans.

Omer Cakmak12 min read
linux

How to Install Boost C++ on Ubuntu 26.04, 24.04 & 22.04

Install Boost C++ on Ubuntu 22.04, 24.04, or 26.04 with libboost-dev, libboost-all-dev, or component packages from apt, or build Boost 1.92 from archives.boost.io, verify with a compile test, and link with g++ or CMake …

Omer Cakmak12 min read
linux

How to Install chkrootkit on Ubuntu

Install chkrootkit on Ubuntu 26.04, 24.04, and 22.04 from Universe, run rootkit scans with chkrootkit -q, read INFECTED and PACKET SNIFFER output safely, enable daily scans (systemd timer or packaged cron), and optional …

Omer Cakmak13 min read
linux

How to Install AWS CLI on Ubuntu

Install AWS CLI v2 on Ubuntu 26.04, 24.04, and 22.04 using the official AWS installer, ZIP, Snap, or Ubuntu APT. Compare release-specific package availability, verify aws --version, authenticate securely, update, and fix …

Omer Cakmak16 min read
linux

Increase Volume Above 100% on Ubuntu

Ubuntu volume too low? Learn how to increase sound above 100% on Ubuntu 26.04 and 24.04 using Over-Amplification or the PipeWire wpctl command.

Omer Cakmak10 min read
linux

How to Update Flameshot on Ubuntu 26.04 and 24.04

Update Flameshot on Ubuntu 26.04 and 24.04 from APT, see why apt upgrade stops at 13.3 or 12.1, and move to Flameshot 14 with Flatpak or the latest AppImage without mixing release repositories.

Omer Cakmak11 min read
linux

How to Install PhotoQt on Ubuntu 26.04, 24.04 and 22.04

Install PhotoQt on Ubuntu 26.04, 24.04, or 22.04 with APT, Flatpak, Snap, or the PhotoQt PPA. Includes version checks, launch, update, and removal.

Omer Cakmak10 min read
linux

How to Remove Software on Ubuntu

Uninstall software on Ubuntu 26.04 by matching the install method—apt remove or purge for Deb packages, snap remove, flatpak uninstall, App Center Manage, and safe autoremove simulation before you confirm dependency …

Omer Cakmak12 min read
linux

How to Install HPLIP on Ubuntu

Install HPLIP on Ubuntu 26.04 and 24.04 with apt first, check your printer minimum HPLIP version against Ubuntu packages, use hp-setup and hp-plugin when needed, and only consider HP SourceForge .run when upstream …

Omer Cakmak12 min read
linux

Install Dart SDK on Ubuntu

Install the Google Dart programming language SDK on Ubuntu 26.04 and 24.04 from the official APT repository, verify with dart --version, run Hello World, upgrade through apt, and know when Flutter already includes Dart.

Omer Cakmak8 min read
linux

Does Ubuntu Need Antivirus?

Ubuntu does not ship Windows-style real-time antivirus. Learn when a home desktop can skip AV, when file or mail servers should scan with ClamAV, what AppArmor and updates already provide on Ubuntu 26.04, and where to …

Omer Cakmak9 min read
linux

Check HugePages CPU Support and Change Default Size on RHEL

Check whether an x86 CPU supports 2 MB or 1 GB HugePages, find the current HugeTLB default size, and change default_hugepagesz persistently with grubby on RHEL.

Omer Cakmak8 min read
linux

How to Increase or Resize tmpfs Size in Linux

Increase or shrink tmpfs on Linux with size=, /etc/fstab, and mount -o remount. Covers /dev/shm, /run, and systemd /run/user limits on RHEL-family systems.

Omer Cakmak10 min read
linux

Authenticate vsftpd Users with Active Directory Using SSSD

Authenticate vsftpd FTP logins with Active Directory on RHEL 10 through PAM and SSSD, with deprecation notes, SELinux, passive ports, and tests—prefer SFTP for new deployments.

Omer Cakmak8 min read
linux

Configure SFTP for Active Directory Users with SSSD on RHEL 10

Let Active Directory users transfer files over SFTP on RHEL 10 after a realmd and SSSD join: sshd, PAM, home directories, optional chroot, and verification from Linux clients.

Omer Cakmak7 min read
linux

How to Check SSH Protocol Version: SSH1 vs SSH2 in OpenSSH

Learn how to check whether SSH is using protocol 1 or 2, what OpenSSH version strings such as OpenSSH_7.4p1 mean, and how to read SSH-2.0 banners and verbose SSH output.

Deepak Prasad10 min read
linux

How to Pass an SSH Password in a Script with sshpass and Expect

Automate password-based SSH and SCP in Linux using sshpass, Expect, and SSH_ASKPASS, with safer password input, host-key handling, and key-based alternatives.

Omer Cakmak15 min read
linux

Mount Remote Directory with SSHFS on Linux & Windows

Mount a remote Linux directory over SSH with SSHFS on RHEL, Ubuntu, and Windows. Covers install, user mounts, permissions, fstab, jump hosts, SSHFS-Win UNC paths, and troubleshooting.

Omer Cakmak16 min read
linux

Configure OpenSSH Host-Based Authentication on Linux

Configure OpenSSH host-based authentication on Linux with HostbasedAuthentication, ssh-keysign, shosts.equiv, and verified host keys—plus hostname/DNS checks and safer alternatives.

Omer Cakmak14 min read
linux

How to Test SSH Connection in Linux (Port, Service & Login)

Test SSH connectivity in Linux step by step: check port 22, verify that sshd responds, test authentication, inspect server-side sshd status, and troubleshoot common SSH errors.

Omer Cakmak14 min read
linux

SSH Through a Jump Host with ProxyJump, ProxyCommand & SCP

Connect to private Linux servers through an SSH jump or bastion host using ProxyJump, ssh -J, ProxyCommand, and scp -J, with multi-hop routes and troubleshooting examples.

Omer Cakmak13 min read
linux

SSH into a VirtualBox VM from Host: NAT, Host-Only, and Bridged

SSH from your host into a Linux VirtualBox VM using NAT port forwarding (recommended), host-only networking, or a bridged adapter — with a mode decision table, guest SSH checks, and troubleshooting for 10.0.2.15 and VPN …

Omer Cakmak12 min read
linux

OpenSSH Host Certificates: Trust Servers with a Host CA

Use OpenSSH host certificates so clients trust one host CA through @cert-authority in known_hosts instead of enrolling every server host key — create a host CA, sign with ssh-keygen -h, configure HostCertificate on sshd, …

Omer Cakmak16 min read
linux

Fix "sshd: ssh-rsa algorithm is disabled" on RHEL

Understand sshd ssh-rsa algorithm is disabled on RHEL 9 and 10, when RSA-SHA2 logins still work, and when to upgrade clients or allow a scoped ssh-rsa exception.

Deepak Prasad11 min read
linux

Sign and Verify Files with SSH Keys Using ssh-keygen -Y

Sign files with ssh-keygen -Y sign, verify them with an allowed_signers file, signer identity, namespace, and stdin — no sshd or GPG required on OpenSSH 8.2 and later.

Omer Cakmak13 min read
linux

Fix SSH no matching key exchange method found

Fix SSH no matching key exchange method found by reading Their offer:, enabling the required KEX algorithm safely, and resolving follow-on host-key or cipher errors.

Omer Cakmak12 min read
linux

Fix SSH "Bad server host key: Invalid key length" Error

Fix SSH "Bad server host key: Invalid key length" caused by 1024-bit RSA host keys, RequiredRSASize, RHEL crypto policies, or stale known_hosts entries.

Deepak Prasad16 min read