Knowledgebase

How to

Add, Create, Install

Articles

How to Delete All Files in a Directory in Linux: By Extension, Recursively or All Except Some Updated 4 November 2026 GNU rm 9.5 (AlmaLinux 10) and 9.7 (Debian 13, Ubuntu 26.04), GNU find 4.10.0, bash 5.2 and 5.3; the same commands work o To remove all files with one extension in the current folder, run rm *.log. To remove them from all subfolders as well (recursively), use find . -type f -name '*.log'... How to Delete a User in Linux (userdel and deluser) Updated 12 October 2026 Debian 13 (shadow 4.17.4, adduser 3.152), Ubuntu 24.04 (adduser 3.137) and 26.04 (adduser 3.153), AlmaLinux 10 (shadow-u To delete a user in Linux together with their home folder and mail spool, run sudo userdel -r username. It works the same on Debian, Ubuntu, AlmaLinux, Rocky Linux and... How to Determine and Fix Boot Issues in Linux? Updated 3 November 2026 Linux, systemd based distributions To find out what went wrong during a Linux system's boot, read the boot's journal with journalctl -b. On a current systemd based system (which covers essentially every... How to Disable/Lock or Blacklist Package Updates using Apt Tool? APT means Advanced Packaging Tool is another package manager found on Linux based systems. Initially designed as a front-end for dpkg to work with .deb packages, apt... How to Enable Cloudflare on your Website? Updated 3 November 2026 cPanel's official Cloudflare plugin To enable Cloudflare on a website through cPanel, open the Cloudflare icon under cPanel's Software section, sign in with your Cloudflare account, then choose whether... How to Enable Hardware Virtualization (Intel VT-x or AMD-V) in the BIOS Intel VT-x and AMD-V processors; Linux checks tested on Ubuntu 24.04 (cpu-checker 0.7, util-linux 2.39.3, libvirt 10.0) Hardware virtualization is a CPU feature (Intel VT-x or AMD-V) that lets KVM, Proxmox, Hyper-V, VirtualBox and similar software run virtual machines at near-native... How to Enable Server Side Includes (SSI) in HTML Files Updated 4 November 2026 Apache 2.4.68 with mod_include and nginx 1.26.3 (Debian 13), tested; AlmaLinux 10.2 httpd defaults checked; cPanel Apach Apache only runs Server Side Includes (SSI) in files it is told to parse, and by default that is not .html. To make .html files run SSI on Apache, put these lines in... How to Exclude or Skip a Package in yum and dnf Updates Updated 18 October 2026 dnf 4.14 (AlmaLinux 9.8), dnf 4.20 (AlmaLinux 10.2) and dnf5 5.4.6 (Fedora 44), where yum runs dnf, tested; Rocky Linux To skip a package during one update, use --exclude (short form -x): yum update --exclude='kernel*' or dnf upgrade -x nginx. To exclude a package permanently, add... How to Export a VMware VM to OVF or OVA and Convert It to KVM (qcow2) VMware Workstation Pro, vSphere Client and OVF Tool according to Broadcom’s documentation; conversion tested with To export a VMware virtual machine, power it off and use File > Export to OVF in VMware Workstation, or Actions > Template > Export OVF Template in the... How to Extract a tar File to a Specific Directory or Extract Only One Folder in Linux Updated 9 October 2026 GNU tar 1.35 (Debian 13, Ubuntu 24.04 and 26.04, AlmaLinux 10) and 1.34 (Rocky Linux 9); bsdtar 3.7 (libarchive) and the To extract a tar file to a specific directory, add -C (capital C) and the target folder. To extract only one directory from the archive, add that directory's path,... How to Find MySQL, PHP and Apache Configuration Files? MySQL database server (my.conf), PHP programming language (php.ini) and Apache HTTP server (http.conf), which together with Linux form the LAMP (Linux Apache... How to Find Number of Files in a Directory and Subdirectories? To display the total number of files in the current working directory or any other directory and its subdirectories on a Linux system.   We will use the find command... How to Find Out List of All Open Ports in Linux? The two most popular Internet transport protocols, Transmission Control Protocol (TCP) and the User Datagram Protocol (UDP) and other less known protocols use port... How to Find Out Top Directories and Files (Disk Space) in Linux? As a Linux administrator, you must periodically check which files and folders are consuming more disk space. It is very necessary to find the unnecessary junks and... How to Find Out What Version of Linux You Are Running Updated 2 November 2026 Debian 13, Ubuntu 24.04 and 26.04, AlmaLinux 10, Rocky Linux 9 and 10, Fedora 44 To see which Linux distribution and version you are running, print /etc/os-release. It exists on every current distribution, needs no extra package and works the same... How to Find Your Minecraft Server IP Address and Port Minecraft: Java Edition 26.3 server (tested with Java 25) and Bedrock Dedicated Server 1.26.52; menu names from the 26.3 A Minecraft server address is the server’s IP address (or a domain name pointing to it), plus the port if it isn’t the default. Java Edition uses port... How to Find Your Server IP Address and Server Location cPanel hosting (cPanel & WHM 138), VPS and dedicated servers on Linux or Windows You need your server's IP address to point a domain to it, to connect by SSH, FTP or Remote Desktop, or to allow it through a firewall. This guide shows where to find... How to Find a File in Linux by Name (find and locate) Updated 4 November 2026 GNU findutils 4.10.0 (Debian 13, AlmaLinux 10.2) and 4.9.0 (Ubuntu 24.04); plocate 1.1.23 (Debian 13), 1.1.22 (AlmaLinux To find a file by name in Linux, run find with the folder to search and the name: find /home -name "notes.txt". Use -iname to ignore upper and lower case, wildcards... How to Find, Kill and Restart a Process in Linux Updated 22 October 2026 procps-ng 4.0.4 and psmisc on Ubuntu 26.04, systemd 257 on AlmaLinux 10.2, tested; the same commands work on Ubuntu 24.0 Find the process ID (PID) with pgrep, then stop it with kill, or do both in one step with pkill. A program that runs as a service (nginx, Apache, MySQL, PHP-FPM)... How to Fix Yum Error: Database Disk Image is Malformed? Updated 3 November 2026 yum and dnf, on AlmaLinux, Rocky Linux and RHEL "Database disk image is malformed" means yum's (or dnf's) local metadata cache is corrupted, usually from an update or install that was interrupted partway through.... How to Fix the File Manager Upload Error in CWP (Control Web Panel) Updated 4 November 2026 CWP (Control Web Panel) on AlmaLinux 8 and 9 and other Enterprise Linux 8 and 9 servers Uploads through CWP's File Manager fail with a message such as "upload error", "413 Request Entity Too Large" or a note that the file exceeds upload_max_filesize when... How to Flush Redis Databases and Keys? Updated 3 November 2026 Redis To delete all keys in a Redis database, run redis-cli FLUSHDB; to delete every key across every database on the server, run redis-cli FLUSHALL. Redis calls this... How to Generate SSH Keys and PEM Key Files in Linux Updated 12 October 2026 OpenSSH 9.6p1 (Ubuntu 24.04), 9.9p1 (AlmaLinux 10.2), 10.0p1 (Debian 13) and 10.2p1 (Ubuntu 26.04); PuTTYgen 0.81 and 0. To generate an SSH key in Linux, run ssh-keygen -t ed25519 -C "admin@laptop" on your own computer, press Enter to accept the file ~/.ssh/id_ed25519 and type a... How to Give Minecraft More RAM (Launcher and Server) Minecraft: Java Edition 26.3 (official launcher and dedicated server; server tested on AlmaLinux 9 with Java 25) Minecraft: Java Edition runs in Java, and Java only uses as much memory as its maximum heap allows, set with -Xmx. The launcher sets 2 GB by default, which is enough... How to Hide or Remove the Nginx Server Header and PHP Version Updated 4 November 2026 nginx 1.26.3 (Debian 13), 1.24.0 (Ubuntu 24.04) and 1.28.3 (Ubuntu 26.04), PHP 8.4 FPM and Apache 2.4.68 on Debian 13, t To hide the nginx version, add server_tokens off; to the http {} block of /etc/nginx/nginx.conf and reload nginx. The header then reads Server: nginx instead of...