Some of the "old commands" are mere wrappers for "new commands", but I would not rely on that.
Code: Select all
# service nginx status
Redirecting to /bin/systemctl status nginx.service
...
Your example,
nginx, is in EPEL repository and the version for el7 has been configured to be a systemd service. Therefore, the "native" command is:
The upstream (RHEL-7) has extensive documentation. Use it. If you are not in a hurry, then focus on RHEL-8 for CentOS 8 is within feasible(*) future.
(*) Assessment ignores likelihood of global warming killing all humans.