Knowledgebase

How to

Add, Create, Install

Articles

How to Run sudo Without a Password (sudoers NOPASSWD) Updated 4 November 2026 sudo 1.9.15p5 (Ubuntu 24.04), sudo-rs 0.2.13 and sudo 1.9.17p2 (Ubuntu 26.04), sudo 1.9.16p2 (Debian 13) and sudo 1.9.17 To run sudo without a password, give the user the NOPASSWD tag in a sudoers file. Create a drop-in file with visudo, which checks the syntax before saving: sudo visudo... How to Schedule Jobs Using Anacron on Linux? Updated 3 November 2026 cron and anacron cron and anacron both run scheduled jobs, but for different kinds of machines. cron assumes the system is running continuously, which is almost always true of a server... How to Send an Email With an Attachment From the Linux Command Line Updated 28 September 2026 s-nail 14.9, GNU Mailutils 3.17 and later, and Mutt 2.2 on AlmaLinux and Rocky Linux 9 and 10, RHEL 9 and 10, Ubuntu 24. Sending a file by email from the command line is handy for backup reports, log files and scripts. This guide shows three tools that attach files correctly, with the... How to Set Limits on User Running Processes in Linux? To set up user limits, we will need to edit the following file: /etc/security/limits.conf   This file is used to apply ulimit created by the pam_module.    The... How to Set Static IP Address and Configure Network in Linux? IP address: 15.84.25.84          Netmask: 255.255.255.0         Hostname: server.rootadminz.com               Domain name: rootadminz.com               Gateway:... How to Set Up and Use Roundcube Webmail in Webuzo Updated 2 November 2026 Webuzo 4 (4.8.x, Roundcube 1.6), according to Webuzo documentation In Webuzo 4, Roundcube is the built-in webmail, so there is nothing to install from the Enduser Panel any more. You make sure the mail server (Exim and Dovecot) is... How to Set and Unset Local, User and System Wide Environment Variables in Linux? Environment Variables are some special variables that are defined in the shell and are needed by programs while execution. They can be system-defined or user-defined.... How to Set max hourly email limit per account in cPanel Updated 3 November 2026 WHM, cPanel's Exim-based mail limits cPanel's hourly email limiter caps how many messages a domain can send per hour. Once a domain hits its limit, it is blocked from sending further mail until the next... How to Set or Change the Hostname in Linux With hostnamectl Updated 30 September 2026 systemd hostnamectl on AlmaLinux and Rocky Linux 9 and 10, RHEL 9 and 10, Ubuntu 24.04 and 26.04, Debian 13 The host name identifies a server in its prompt, logs and emails. On systems with systemd, one command changes it permanently: hostnamectl. There is no need to edit... How to Setup Private Docker Registry on Ubuntu 18.04 LTS? Updated 28 September 2026 Ubuntu 24.04 LTS Ubuntu 18.04 is no longer supported; this guide uses Ubuntu 24.04 LTS. A private registry stores your own Docker images. Install Docker Engine (official repository)... How to Setup Railgun Listener on CentOS 6/7 Web Server Updated 28 September 2026 Cloudflare (Railgun discontinued 31 January 2024) Railgun was a Cloudflare service that compressed traffic between Cloudflare and your server using a listener installed on the server. Cloudflare discontinued it on 31... How to Setup git Repository using GitHub? Updated 3 November 2026 git, GitHub To set up a git repository and push it to GitHub, initialize git locally, commit your files, create an empty repository on GitHub, then push to it using a Personal... How to Sort ls Output by Date in Linux: Newest First, Oldest First and Full Dates Updated 4 November 2026 GNU ls 8.32 (Rocky Linux 9), 9.4 (Ubuntu 24.04), 9.5 (AlmaLinux 10) and 9.7 (Debian 13); uutils ls 0.10.0 (Ubuntu 26.04) To sort files by date with ls, run ls -lt: -t sorts by last modification time with the newest file first, and -l shows the date and time next to each name. To put the... How to Split Large tar Archive into Multiple Files of Certain Size? The creation of archive files and splitting them into blocks of a selected size. We shall use tar, one of the most popular archiving utilities on Linux and also take... How to Start/Stop and Enable/Disable FirewallD and Iptables Firewall in Linux? Updated 28 September 2026 Ubuntu 24.04, Debian 12, AlmaLinux 9 and Rocky Linux 9 A firewall decides which network traffic may reach your server. Current Linux systems use firewalld (AlmaLinux 9 / Rocky Linux 9) or UFW (Ubuntu/Debian); both write... How to Stop and Start a Windows Service: Services Console, net stop, sc and PowerShell Updated 4 November 2026 Windows 11, Windows 10 and Windows Server (Services console, net, sc.exe, Windows PowerShell 5.1 and PowerShell 7; comma To stop a Windows service, open Command Prompt as administrator and run net stop NAME; to start it again, run net start NAME. In PowerShell the same is Stop-Service... How to Sync Files/Directories Using Rsync with Non-standard SSH Port? Updated 28 September 2026 Ubuntu 24.04, Debian 12, AlmaLinux 9 and Rocky Linux 9 rsync uses SSH to copy files between servers. If the SSH server listens on another port than 22, tell rsync which one. Give the port on the command line rsync -avz -e... How to Test Disk Speed on Ubuntu and Linux: fio, dd, hdparm and SSD Health Checks Updated 4 November 2026 Ubuntu 24.04 (fio 3.36, hdparm 9.65, smartmontools 7.4, GNOME Disks 46); same packages on Debian 13 (fio 3.39) and AlmaL To test disk speed on Ubuntu or any Linux server, install fio and measure sequential and random reads and writes on a test file: fio --name=seqwrite... How to Test Website Speed and TTFB from the Command Line (curl) curl on Linux, macOS and Windows 10 and 11 TTFB (time to first byte) is how long a server takes to start sending a page after the request. It shows server and hosting speed separately from images, scripts and... How to Test Your Internet Speed Bidirectionally from Command Line Using Speedtest-CLI Tool? Updated 11 October 2026 Ubuntu 24.04, Debian 12, AlmaLinux 9 and Rocky Linux 9 To test a server's connection from the command line, use Ookla's official Speedtest CLI or iperf3. The older Python speedtest-cli is still packaged but no longer... How to Transfer Files Between Two Computers using nc and pv Commands? nc stands for Netcat and often point out as “Swiss Army knife” is a networking tool used for network debugging and investigation and also it is used for creating... How to Use New Advanced Package Tool (APT) in Ubuntu/Debian? Different Linux distributions install applications in a pre-compiled package that contain binary files, configuration files and also information about the... How to Use cat and tac Commands with Examples in Linux? Cat command, the acronym for Concatenate, is one of the most used commands in *nix systems. The most basic usage of the command is to read files and display them to... How to Use the at Command in Linux to Schedule One-Time Jobs Updated 4 November 2026 at 3.2.5 on Debian 13, Ubuntu 26.04 and AlmaLinux 10.2 (tested); the same package and commands on Rocky Linux and RHEL The at command in Linux runs a command once, at a time you choose. Pipe the command into at with the time: echo "/root/backup.sh" | at 23:30, or echo "reboot" | at now... How to Zip and Unzip Files in Linux (and Extract to a Specific Directory) Updated 4 November 2026 zip and unzip on Ubuntu 24.04, Debian 13, AlmaLinux and Rocky Linux 9 zip and unzip create and open .zip files, the format Windows and macOS use too. We tested every command on Ubuntu 24.04 and AlmaLinux 9. Install sudo apt install zip...