Blog

Latest Articles - Page 24

Browse the latest tutorials, guides, and practical examples across Linux, DevOps, security, databases, and programming on GoLinuxCloud.

Explore the latest tutorials and guides across Linux, DevOps, programming, and more.

You can also browse content by category below:

  • Linux: Commands, administration, troubleshooting, and system operations
  • DevOps: CI/CD, Kubernetes, containers, and automation
  • Cloud: AWS, Azure, OpenStack, and hybrid cloud administration
  • Programming: Coding tutorials, scripting, and development concepts
  • Security: Ethical hacking, system security, and best practices
  • Databases: MySQL, MariaDB, PostgreSQL, and database management
  • Networking: Network setup, troubleshooting, and protocols
  • Storage: Disk management, file systems, and storage solutions
  • Tools: Useful tools and utilities for productivity

3098 articles

Blog illustration with latest articles, tutorials, guides, and how-to content across Linux and DevOps topics
linux

Troubleshoot High CPU Usage in Linux

Troubleshoot Linux high CPU usage with top, ps, mpstat, and pidstat to find runaway processes, read per-core utilization, split user and system time, inspect threads, and decide whether the workload is legitimate or a …

Deepak Prasad11 min read
linux

Troubleshoot High Load Average in Linux

Troubleshoot Linux high load average by comparing load to CPU count, reading mpstat and iowait, finding D state processes, checking disk and NFS blocking I/O, and identifying whether CPU, I/O, or locks are the …

Deepak Prasad10 min read
linux

Troubleshoot Default Routes in Linux

Troubleshoot Linux default route problems by reading ip route show default and ip route get, understanding route metrics, removing wrong gateways, fixing multiple default routes, and making the correct gateway persistent …

Deepak Prasad10 min read
linux

Troubleshoot Slow Network Speed in Linux

Troubleshoot Linux slow network speed by measuring throughput with curl and iperf3, checking latency and packet loss, verifying ethtool link speed and duplex, reading interface drops, testing MTU, reviewing routes, and …

Deepak Prasad9 min read
linux

Troubleshoot Packet Loss in Linux

Troubleshoot Linux packet loss by confirming drops with ping statistics, locating the failing hop with mtr, reading interface error counters, checking ethtool link state, testing MTU with ping, and comparing local LAN …

Deepak Prasad12 min read
linux

Fix NetworkManager Device Unmanaged on Linux

Fix NetworkManager device unmanaged on Linux by reading nmcli device state and reason codes, checking unmanaged-devices rules and NM_CONTROLLED, marking interfaces managed, and verifying with nmcli reload.

Deepak Prasad9 min read
linux

Fix Destination Host Unreachable on Linux

Fix destination host unreachable on Linux by identifying which host sent the ICMP error, checking interface IP and routes, resolving ARP neighbor failures, and restoring a reachable default gateway.

Deepak Prasad11 min read
linux

Fix Connection Refused on Linux

Fix connection refused on Linux for ssh, curl, and custom TCP ports by confirming host reachability, checking systemd and ss listeners, bind addresses, firewalld rules, and verifying with nc or curl.

Deepak Prasad10 min read
linux

Fix Linux: Can Ping IP but Not Hostname

Fix Linux hosts that ping IP addresses but not hostnames by confirming routing, testing DNS with getent and dig, checking resolv.conf and NetworkManager, and restoring working nameservers.

Deepak Prasad9 min read
linux

Fix No Route to Host on Linux

Fix no route to host on Linux for ssh, curl, and other TCP clients by checking ip route get, gateway and ARP neighbors, tracepath, and firewalld REJECT rules that return EHOSTUNREACH.

Deepak Prasad10 min read
linux

Fix Network Is Unreachable on Linux

Fix network is unreachable on Linux by checking link state and IP addresses, reading ip route get, restoring a missing default gateway, and correcting NetworkManager routes on RHEL, Ubuntu, and other distributions.

Deepak Prasad10 min read
linux

Fix Temporary Failure in Name Resolution on Linux

Fix temporary failure in name resolution on Linux by confirming IP connectivity, testing DNS with getent and dig, checking resolv.conf and NetworkManager DNS servers, and applying a working resolver configuration.

Deepak Prasad10 min read
linux

How to Find and Fix Memory Leaks in Linux Applications

Read LeakSanitizer and Valgrind reports down to the line that owns the memory, use the flags that add detail, attribute growth with Massif, and query a running process with vgdb so you fix the cause instead of only …

Omer Cakmak42 min read
linux

How to Install libc.so.6 on Linux (glibc Package, Not a Download)

Diagnose libc.so.6 errors by message type — GLIBC_2.xx not found, cannot open shared object file, wrong ELF class, or damaged system libc — then fix with the matching glibc package, multilib, rebuild, container, or …

Omer Cakmak12 min read
linux

Configure Fail2ban to Protect SSH on Linux

Install Fail2ban, enable the sshd jail with sane bantime and ignoreip values, verify bans after failed SSH logins on RHEL and Debian, and unban trusted client addresses when needed.

Omer Cakmak10 min read
linux

Found a Swap File by the Name: Fix Vim .swp Warnings (E325)

Fix Vim E325 Found a swap file by the name by reading the .swp prompt, recovering after a crash, or removing a stale swap file once no editor owns it — not Linux swap memory from mkswap.

Omer Cakmak9 min read
linux

Fix SSH No Route to Host: Routing, Firewall, and sshd Checks

Diagnose SSH no route to host with TCP port tests, ip route get, remote firewalld and sshd checks, and learn when the message means a firewall REJECT instead of a missing route.

Omer Cakmak10 min read
linux

Run Multiple Commands Over SSH on Linux

Chain remote commands over SSH with semicolons, &&, subshells, bash -s, and here documents, and pick the pattern that matches whether every step must run or stop on failure.

Omer Cakmak8 min read
linux

Long-Running Commands Over SSH: Keep Jobs Running After Disconnect

Run backups, builds, and other long jobs over SSH with explicit I/O redirection, nohup, setsid, tmux, or disown so work continues after the terminal closes and output lands in a log you can read later.

Omer Cakmak9 min read
linux

Enable UTF-8 Locale on Linux

Set a UTF-8 system locale with localectl or update-locale, confirm with locale and locale charmap, and fix missing-locale warnings on RHEL and Debian-family Linux.

Omer Cakmak6 min read
linux

Fix RPM Failed Dependencies on Install and Remove

Fix error Failed dependencies when installing a local RPM with dnf install, list requirements with dnf repoquery, install offline RPM bundles, and remove packages safely on RHEL family systems.

Omer Cakmak7 min read
linux

Enable Persistent Logging in systemd-journald on Linux

Store systemd-journald logs on disk under /var/log/journal with a Storage=persistent drop-in, restart systemd-journald, flush runtime logs with journalctl, and verify earlier boots with journalctl --list-boots.

Omer Cakmak7 min read
linux

Idle SSH Sessions: Disconnect or Keep Them Alive on Linux

Set ClientAliveInterval and ClientAliveCountMax on sshd to drop unresponsive SSH clients, use ServerAliveInterval on the OpenSSH client to keep sessions alive through NAT, and understand how TCPKeepAlive differs.

Omer Cakmak8 min read
linux

Sort Files and Directories by Size with du on Linux

Find the largest directories and files under a path with du piped to sort, using --max-depth for folder totals, -a for individual files, numeric -k filters, and head to keep the top results.

Omer Cakmak7 min read
linux

Disable SELinux in Linux (Runtime, Permissive, and Permanent)

Change or disable SELinux on Linux with setenforce for runtime permissive mode, semanage for one domain, grubby --args selinux=0 for permanent disable on RHEL 9 and 10, and a one-time GRUB edit when the system will not …

Omer Cakmak9 min read
linux

Detect Rootkits on Linux with rkhunter

Install rkhunter from EPEL or apt, update its signature database, baseline file properties with propupd, run a non-interactive check, and interpret warnings in rkhunter.log on RHEL and Debian-family hosts.

Omer Cakmak7 min read
linux

Disable ICMP Timestamp Responses in Linux

Block ICMP timestamp request (type 13) and reply (type 14) on Linux with firewalld rich rules, nftables, iptables, or UFW, then verify from a second host with nping before compliance scans run again.

Omer Cakmak10 min read
storage

Disk Types and Interface Types in Linux

Learn how Linux disk media types (HDD, SSD, optical) differ from interface and transport types (SATA, SAS, NVMe, Fibre Channel, USB), and how device names such as sda and nvme0n1 map to each layer.

Omer Cakmak10 min read
linux

How to Delay a Reboot in Linux

Delay a Linux reboot for a maintenance window with shutdown -r +minutes, systemctl reboot --when=, or at; notify users, confirm the pending job, and cancel if plans change.

Omer Cakmak7 min read
linux

Create a systemd Service Unit in Linux

Create a custom systemd .service unit under /etc/systemd/system/, explain Unit Service and Install sections, start and enable it with systemctl, and verify with status and journalctl.

Omer Cakmak6 min read