Stop network service with init.d For Ubuntu

Gabriel9999

Member
Joined
Mar 12, 2019
Messages
38
Reaction score
4
Credits
130
How can I stop the networking service by using init.d for the Ubuntu operationg system?
 


warlockk

Well-Known Member
Joined
Mar 9, 2020
Messages
453
Reaction score
277
Credits
1,727
To start networking service, enter :
$ sudo /etc/init.d/networking start
OR
$ sudo service networking start

To stop networking service, enter:
$ sudo /etc/init.d/networking stop
OR
$ sudo service networking stop
 

dos2unix

Well-Known Member
Joined
May 3, 2019
Messages
1,004
Reaction score
684
Credits
5,037
init.d will eventually be deprecated. Any reason it "has" to be init.d ?
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Members online


Top