Linux
Linux, cPanel, CentoOs
Articles
Suse Linux Change Hostname (computer name) without yast
Show the current hostname
hostname
or:
hostnamectl
Change the hostname without restarting
sudo hostname new-server-name-here
Then edit /etc/hostname and update it to...
TLDR: Easy to Understand Man Pages for Every Linux User
The TLDR (stands for “Too Long; Didn’t Read“. ) pages are summarized practical usage examples of commands on different operating systems including Linux. They simplify...
Terminal Logs in Linux: Record a Terminal Session with script and Log Every Command
Linux does not save what appears in your terminal. Bash only keeps the commands you type, in ~/.bash_history, and not their output. To create a terminal log with both...
Termtosvg: A Tool to Record Terminal Session in Linux
termtosvg recorded terminal sessions as SVG animations, but the project was archived in 2020 and is no longer maintained. The standard tool today is asciinema, which...
Ternimal: Show Animated Lifeform in Your Linux Terminal
Ternimal (not terminal, yes, we also read it as terminal the first time) is a simple, very flexible program that simulates an animated lifeform in your terminal using...
The Silver Searcher: A Code Searching Tool for Programmers
The Silver Searcher is a free and open source, cross-platform source code searching tool similar to ack (a grep-like tool for programmers) but faster. It runs on...
The incorrect kernel name or release is shown in WHM or cPanel
If WHM shows an old kernel version after a kernel update, cPanel's cached system information is out of date.
Fix (root)
mv /var/cpanel/sysinfo.config...
The put Command in Linux: How to Upload Files with sftp, ftp and lftp
put is not a Linux command you run on its own. It is a command inside file transfer programs such as sftp, ftp and lftp: you connect to a server first, then use put to...
Top Command Usage and Examples in Linux
top shows a live view of load average, logged-in users, CPU and free memory, updating a few times a second.
top
The -d switch: change the update interval
-d sets the...
Transfer.sh: Easy File Sharing from Linux Commandline
Transfer.sh is a simple, easy and fast service for file sharing from the command-line. It allows you to upload up to 10GB of data and files are stored for 14 days, for...
Trying to park yourdomain.com, but it says this domain name is owned by another user
This error means the domain is already configured somewhere on the server, so cPanel will not add it to your account.
Common causes and fixes
The domain is already an...
Understanding Shared Libraries in Linux
Linux supports two classes of libraries, namely:
Static libraries: are bound to a program statically at compile time.
Dynamic or shared libraries: are loaded when...
Understanding Shutdown, Poweroff, Halt and Reboot Commands in Linux
Shutdown Command
shutdown schedules a time for the system to be powered down. It may be used to halt, power-off or reboot the machine.
You may specify a time string...
Understanding the Difference Between su and su with a Hyphen (Login Shell) in Linux
When working with Linux systems, one of the most common tasks administrators and users face is switching between accounts. This is often done using the su or su -...
Uptime Kuma vs UptimeRobot: Self-Hosted or Hosted Monitoring
Uptime Kuma is free, open-source monitoring software (MIT licence) that you run on your own server, so the checks come from that server and all the data stays with...
Use pushd and popd for Efficient Filesystem Navigation in Linux
pushd and popd work according to the “LIFO” (last in, first out) principle. In this principle, only two operations are allowed: push an item into the stack, and pop an...
Useful Lesser Known Linux Commands with Examples
These are ten commands most Linux users never meet but that solve real problems on a server: strace shows what a program is doing, disown keeps a job alive after you...
User Is Not in the sudoers File: Fix It on Debian and Ubuntu
Short answer: “alice is not in the sudoers file” means your account has no right to use sudo. On Debian and Ubuntu, an administrator (root) fixes it by...
Using Pipelines, xargs, and tee in Linux Command Line
A pipeline connects one command's output directly to another command's input with the | character, so you can chain small, single purpose tools into one larger...
Virtual Machine Software for Linux and Ubuntu: KVM, VirtualBox, GNOME Boxes and More
Short answer: on Ubuntu, the native choice is KVM with QEMU and virt-manager. KVM is built into the Linux kernel, costs nothing and is the same technology that runs...
WHMCS 9.0 System Requirements (PHP, ionCube, MySQL)
These are the requirements for self-hosted WHMCS 9.0, the current version (WHMCS 8.13 is the long-term support release). The old PHP 5 and MySQL 4 requirements no...
Ways to Re-run the Last Executed Commands in Linux (Bash)
Retyping long commands wastes time. Bash keeps a history of what you ran and offers several ways to run a command again, or to reuse part of it.
1. The arrow keys and...
What Does the rm rf Command Actually Do in Linux?
The rm command is a UNIX and Linux command line utility for removing files or directories on a Linux system. In this article, we will clearly explain what actually "rm...
What Is KVM Virtualization and How Does a KVM VPS Work
KVM (Kernel-based Virtual Machine) is the virtualization technology built into the Linux kernel. It lets a Linux server act as a hypervisor: the server's CPU runs...
What Is Load Balancing: Types, Algorithms and a Linux Example
Load balancing means spreading incoming requests or connections across two or more servers, so that no single server is overloaded and the service keeps working when...