Stop network service with init.d For Ubuntu

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Gabriel9999
    New Member
    • Jul 2019
    • 15

    Stop network service with init.d For Ubuntu

    How can I stop the networking service by using init.d for the Ubuntu operationg system?
  • edizgeorgi
    New Member
    • Oct 2019
    • 8

    #2
    There are different ways. You can also use the systemd but as you are asking for init.d use the following command.
    sudo /etc/init.d/networking start
    Last edited by Rabbit; Apr 30 '20, 04:16 PM. Reason: External link removed

    Comment

    • lewish95
      New Member
      • Mar 2020
      • 33

      #3
      To stop and start services temporarily (Does not enable / disable them for future boots), you can type service SERVICE_NAME [action] . For example: sudo service apache2 stop (Will STOP the Apache service until Reboot or until you start it again).

      Comment

      Working...