Knowledgebase

Linux

Linux, cPanel, CentoOs

Articles

Linux Password Expiration: Check, Set or Disable with chage Updated 12 October 2026 AlmaLinux 10.2 (RHEL family, shadow-utils 4.15), Debian 13 (shadow 4.17), Ubuntu 24.04 (shadow 4.13) and Ubuntu 26.04 (s Password expiry in Linux is set per user with chage. sudo chage -l vyga shows when the password expires, sudo chage -M 90 vyga makes it expire 90 days after the last... Linux Process and Memory Activity Monitoring Tool-vtop Updated 3 November 2026 vtop 0.6.1, tested on Node.js 22 (Debian/Ubuntu and AlmaLinux) vtop is a free, open source terminal tool that draws your server's CPU and memory usage as live graphs, using Unicode braille characters, instead of the plain numbers... Linux Root Partition: Find It and Grow It Without Rebooting Updated 4 November 2026 growpart (cloud-guest-utils 0.33), ext4 (e2fsprogs 1.47.2), XFS (xfsprogs 6.13) and LVM 2.03.31, tested with a Linux 6.1 The root partition is the partition that holds the / file system, where Linux itself is installed. After your provider has enlarged the virtual disk, you can grow the... Linux Server Shutdown Commands and How to Disable Them Updated 17 October 2026 Linux with systemd (tested with systemd 257 on AlmaLinux 10.2; the same commands on RHEL and Rocky Linux 9 and 10, Debia To shut down a Linux server, run sudo shutdown -h now (or sudo poweroff); to restart it, run sudo shutdown -r now (or sudo reboot). The commands are the same on... Linux Services and Daemons: A Complete Guide Title: Linux Services and Daemons: A Complete Guide When working with Linux, you’ll often hear terms like services and daemons. These processes are the backbone of a... Linux Terminal Autocomplete: How to Enable Bash Completion Updated 12 October 2026 Fedora 44 (bash 5.3, bash-completion 2.17), AlmaLinux 10.2 (bash 5.2, bash-completion 2.11), Debian 13 (bash-completion Autocomplete in the Linux terminal is the Tab key. Type the start of a command, file or folder name and press Tab: Bash completes it when there is only one match, and... Linux ping Command: Examples and Options (Do Not Fragment, Ping Scan, Verbose) Updated 9 November 2026 ping from iputils 20240905 on Debian 13 (all examples tested), iputils on Ubuntu 24.04 and 26.04, AlmaLinux and Rocky Li To ping a host on Linux, run ping -c 4 example.com. It sends four ICMP echo requests, prints every reply with its round-trip time and ends with a summary. Without -c,... Linux rpm Command Examples: Install, Query, Verify, Remove Updated 18 October 2026 RPM 4.16.1.3 on AlmaLinux 9.8, RPM 4.19.1.1 on AlmaLinux 10.2 and RPM 6.0.2 on Fedora 44, tested (Rocky Linux 9.8 and 10 rpm is the low-level package tool of AlmaLinux, Rocky Linux, RHEL and Fedora. It installs, queries, verifies and removes .rpm packages, but it does not download... Linux sdiff Command Examples for Linux Newbies sdiff is a simple command line utility for showing the differences between two files and merge interactively. It is easy to use and comes with straightforward usage... Linux w Command: See Who Is Logged In and What They Do w is a command-line utility that displays information about currently logged in users and what each user is doing. It also gives information about how long the system... MTR: A Network Diagnostic Tool for Linux MTR is a simple, cross-platform command-line network diagnostic tool that combines the functionality of commonly used traceroute and ping programs into a single tool.... Most Dangerous Linux Commands and How to Protect Your Server Updated 12 October 2026 Debian 13 and Ubuntu 26.04 (GNU coreutils 9.7, bash 5.2, e2fsprogs 1.47, sudo 1.9, cron 3.0) and any Linux server where The most dangerous Linux command is rm -rf pointed at the wrong place: rm -rf /*, rm -rf ~ or a path built from an empty variable. Close behind are commands that write... My content is in the wrong folder, how do I move the files to the correct location? Updated 28 September 2026 cPanel & WHM 138 (Jupiter theme) Your main domain shows the files in the public_html folder. If you uploaded your website elsewhere, for example into /home/username or into a subfolder, move the files... Mysql database and user naming syntax Since we run a shared hosting environment, we have to uniquely identify your usernames to your account only. We do this by attaching your system username and an... Newsboat: an RSS and Atom Feed Reader for the Linux Terminal Updated 28 September 2026 Newsboat 2.36 to 2.44 on Debian 13 and Ubuntu 26.04 (packages), and on any Linux with snap Newsboat is an RSS and Atom feed reader that runs in the terminal. It follows blogs, news sites, release notes and security advisories in one list, and works well over... Nix Package Manager on Linux: Install and Basic Commands Updated 2 November 2026 Nix 2.35.4 (single-user install tested on Debian 13 and Ubuntu 24.04, x86_64); multi-user install according to the Nix m Nix is a package manager that installs every package into its own folder under /nix/store, so installing or upgrading one package cannot break another, several... OnApp: VM created using a User Template not booting In OnApp Cloud platform, we can create the custom template (Image) of any running reference VM, which can be used to create VMs with similar configuration. The Error:... OpenSSL: Print Certificate Details and Check SSL Expiry Updated 18 October 2026 OpenSSL 3.5 on Ubuntu 26.04 (tested against a local test server on 127.0.0.1); the same commands work with OpenSSL 3.x o To print all details of a certificate file, run openssl x509 -in cert.pem -noout -text. For the certificate a live website sends, pipe openssl s_client into openssl... PacVim: A Game That Teaches You Vim Commands PacVim is a free open source, text-based game that teaches you vim commands in a simple and fun manner. It is inspired by the popular and classic PacMan game and runs... RHEL and Fedora: List Installed Packages and Yum Repositories Updated 4 November 2026 AlmaLinux 9.8 and 10.2, Rocky Linux 9.8 and 10.2 (dnf 4), Fedora 44 (dnf5 5.4.6), RHEL 9 and 10 (UBI minimal images with To list every installed package on RHEL, AlmaLinux, Rocky Linux or Fedora, run rpm -qa. For the same list with the repository each package came from, run dnf list... Rename a database in cPanel Updated 28 September 2026 cPanel & WHM 138 (Jupiter theme) You can rename a MySQL database from cPanel. Any application that uses it stops working until you put the new name in its configuration. Steps Back up the database... Samba Ports: 445, 139, 137 and 138 and How to Open Them Safely Samba 4.19 to 4.23 on AlmaLinux, Rocky Linux, Ubuntu and Debian (tested with Samba 4.23.5 on AlmaLinux 9 and 4.19.5 on U Samba shares files and printers with Windows, macOS and Linux computers using the SMB protocol. With default settings it listens on four ports. We installed Samba... Server Monitoring Software for Linux: Tools Compared Linux servers; Debian 13 packages tested: Prometheus 2.53.3, node_exporter 1.9.0, Nagios Core 4.4.6 with Monitoring Plug There is no single best server monitoring software. The right tool depends on what you need to know. For a live view of one server, start with htop and Netdata. For... Show a custom message to users before Linux Server Shutdown shutdown command broadcasts a message to other system users as shown in the screenshot below: # shutdown 13:25 Linux Shutdown Broadcast Message Shutdown scheduled... Step-by-Step Guide: Park Your Domain in cPanel Updated 28 September 2026 cPanel & WHM 138 (Jupiter theme) Parking a domain (called an alias in current cPanel) makes a second domain show the same website as your main domain. It is useful for spelling variants and other...