Linux
Linux, cPanel, CentoOs
Articles
/proc/filesystems: Find out what filesystems supported by Linux kernel
It is the file used to detect filesystems supported by the running kernel. You can quickly run grep command or cat command to display the list of all supported file...
10 Wildcard One-Liners to Match File Names in Linux (Tested Examples)
Ten wildcard one-liners for everyday file work on a server, each with the output it gave. Copy the one you need and change the names. Why each pattern works is...
10 who Command Examples for Linux Newbies
The who command shows which users are currently logged in to a Linux system, along with the terminal and, for a remote login, the IP address they connected from. Run...
12 Practical Examples of Linux Xargs Command for Beginners
Xargs is a great command that reads streams of data from standard input, then generates and executes command lines; meaning it can take output of a command and passes...
13 rsync Command Examples for Linux
rsync copies files and folders, locally or between servers over SSH, and on later runs transfers only what changed. That makes it the standard tool for backups,...
15 Tips On How to Use Curl Command in Linux
Back in the mid-1990’s when the Internet was still in its infancy, a Swedish programmer named Daniel Stenberg started a project that eventually grew into what we know...
15 Useful Sockstat Command Examples to Find Open Ports in FreeBSD
Sockstat is a versatile command line utility used for displaying network and system opened sockets in FreeBSD. Mainly, sockstat command is installed by default in...
3 Tools to Find and Delete Duplicate Files in Linux (fdupes, jdupes, rdfind)
Duplicate files waste disk space, especially in backups, photo collections and old website copies. The tools below find files with identical content (not just the same...
5 Command Line Tools to Find Files Quickly in Linux
Linux has several command line tools for finding files, and each fits a different situation: find for an exact, up to the minute search by name or attribute, locate...
5 Useful Tools to Remember Linux Commands Forever
There are thousands of tools, utilities, and programs that come pre-installed on a Linux system. You can run them from a terminal window or virtual console as commands...
5 Useful Ways to Do Arithmetic in Linux Terminal
1. Using Bash Shell
The first and easiest way do basic math on the Linux CLI is a using double parenthesis. Here are some examples where we use values stored in...
5 stat Command Examples for Linux Newbies
stat shows detailed status information for a file, directory or filesystem: size, permissions, ownership, inode number, and the access, modification and change times,...
A Bash Script to Create a Bootable USB from ISO in Linux
Bootiso is a powerful Bash script to easily and securely create a bootable USB device from one ISO file. It helps you create a bootable USB from an ISO with a single...
Add a User to wheel for sudo on AlmaLinux, Rocky Linux, RHEL
On AlmaLinux, Rocky Linux, RHEL and Fedora the administrator group is called wheel, not sudo as on Debian and Ubuntu. To give a user full sudo rights, add them to...
Add an user to a MySQL database with Cpanel
First of all, Login to Cpanel. Locate, Site Management Tools and click on MySQL Databases.You will see each database with the options to Delete, check or Repair.If a...
Agedu: A Useful Tool for Tracking Down Wasted Disk Space in Linux
agedu scans a directory like du does, but it also records when each file was last accessed, so it can show you not just what is using disk space, but what has not been...
An Easy Way to Hide Files and Directories in Linux
To hide a file or directory in Linux, rename it so its name starts with a dot. Linux treats any name beginning with . as hidden, and both the terminal and graphical...
Ansible apt update all packages on Ubuntu and Debian Linux
Ansible's built in apt module updates the package cache and upgrades every package on a Debian or Ubuntu host, and the built in reboot module can reboot that host...
Are shared server mysql databases unicode compatible?
Yes. Databases on our servers support Unicode, including emoji and all scripts such as Hindi, Arabic and Chinese.
Use the utf8mb4 character set, with a collation such...
Assign Read/Write Access to a User on Specific Directory in Linux
To give one user read and write access to a folder they do not own, use a group or an access control list (ACL). Example: user alice, folder /shares/project1/reports....
At least 250MB more space needed on the /boot filesystem
"At least 250MB more space needed on the /boot filesystem" means the /boot partition is full of old kernels, so a new kernel cannot be installed.
Check
df -h /boot
rpm...
Awstats Stats Explained
AWStats reports on who visits your website and how. Here is what each part of the report means.
Last Update: when the statistics were last refreshed. The "Update now"...
Backup your website in cPanel
Back up your website before updates, redesigns or plugin changes, and keep regular copies somewhere other than your hosting account.
Back up with the Backup Wizard
Log...
Basic Redis Commands for redis-cli with Examples
Redis is an in-memory database that persists on disk. The data model is key-value, but many different kinds of values are supported: Strings, Lists, Sets, Sorted Sets,...
Bat: A Cat Clone with Syntax Highlighting and Git Integration
Bat is a cat command clone with advanced syntax highlighting for a large number of programming and markup languages and it also comes with Git integration to show file...