How to Restart Nginx Web Server On Ubuntu/CentOS

In this tutorial we are going to learn how to restart Nginx Web server on Ubuntu 16.04, CentOS 7 and Fedora.

Most of the Linux distributions now use systemctl command to manage services, this includes Ubuntu, CentOS 7, RedHat 7, Fedora and Debian Linux.

How to Display Line Numbers in Linux Cat Command

Learn how to show line numbers with the cat command. The Linux cat command by default show no line numbers in its output. To display line numbers..