sed is a stream editor that reads and manipulates text using functions you specify in your command. sed understands regular expressions, which makes it a…
Category: Server management
Exporting and importing databases from the command line
Most of our servers use cPanel, which has an excellent interface for working with databases. However, sometimes it is better to instead use the command…
SSH basics
Our Premium, VPS and Dedicated hosting plans come with SSH access. This article describes how you can connect to your server via SSH. First though,…
How to set up key-based authentication for SSH
In our article about SSH basics we connected to a remote server by entering our user password. You can instead set up key-based, or passwordless,…
Log file locations on cPanel servers
This article covers the most important log files on cPanel servers. The files include the “traditional” syslog files, as well as log files used by…
Exim utilities
Most of our Linux servers use Exim as the Mail Transfer Agent (MTA). Exim comes with a number of useful utilities you can use to…
Exim log files and exigrep
Our last article talked about Exim utilities. The utilities we looked at are used to inspect the mail queue or individual emails. This article looks…
Managing services on Linux servers
This article looks at managing services on Linux servers. I will focus on the command line, and on the systemctl utility in particular.
Checking logs using journalctl
Systems that use systemd write log entries for the kernel and various services to a journal. These log entries are stored in a binary format…