Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the hueman domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/CloudIngenium.com/htdocs/wp-includes/functions.php on line 6114
Useful Ubuntu Service commands – Knowledge eXchange

Useful Ubuntu Service commands

Useful Ubuntu Service commands

Ubuntu daemons/services/etc. have a few commonalities that are worth knowing when working with them. For example, from what I have read there is a way to reload the configuration changes without having to stop/start a service but I haven’t fully tested that yet. Below are a few command and things worth knowing:

  • To start a service:
    • service nginx start
  • To stop a service:
    • service nginx stop
  • To restart a service:
    • service nginx restart
  • To reload a service’s configuration:
    • service nginx reload

Now, not all services offer the same kind of options. You could always type service followed by the service name and then press the tab key twice on the keyboard for Ubuntu to show you a list of available commands for your service. You might be surprised that sometimes there are more options than the ones you have used.

Enhanced by Zemanta

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.