zoukankan      html  css  js  c++  java
  • Ubuntu Linux restart network

    Ubuntu Linux restart network

    Ubuntu Linux restart network

    by Vivek Gite on June 20, 2007 · 6 comments

    Q. I’m new to Linux and installed Ubuntu Linux successfully on my HP Laptop. Now I need to restart my network. How do I restart network under Ubuntu Linux?

    A. Ubuntu Linux comes with a script called networking ( Ubuntu restart network command)– it is use to activates or deactivates or restart all network interfaces (NIC) configured to start at boot time.

    Ubuntu Linux restart network command

    Open shell or terminal and type the command as follows:
    $ sudo /etc/init.d/networking restart

    You can this command on remote Ubuntu Linux server without any problem, but make sure you pass only restart option. This command also accepts start and stop options:

    WARNING! These examples may stop remote networking service if executed. Always, use restart option over ssh session.

    $ sudo /etc/init.d/networking start
    $ sudo /etc/init.d/networking stop

  • 相关阅读:
    选择排序
    java面试题08
    java面试题07
    java面试题06
    java面试题05
    oop.1
    4
    3
    Struts1中actionform和action属于MVC哪一层
    mysql查询时间段的所有数据
  • 原文地址:https://www.cnblogs.com/lexus/p/2369414.html
Copyright © 2011-2022 走看看