Q. How do I restart / stop / start networking under Ubuntu Linux system from a shell prompt?
A. You can easily restart, stop, or start networking service under Ubuntu Linux using a shell prompt. You can also restart networking remotly over ssh session (do not stop networking service over ssh session).
Task: Restart networking under Ubuntu Linux
Open terminal (command line) and type the following command:
$ sudo /etc/init.d/networking restart
To start networking service, enter:
$ sudo /etc/init.d/networking start
To stop networking service, enter:
$ sudo /etc/init.d/networking stop
See also:
- See how to make changes to Ubuntu Linux network configuration by editing /etc/network/interfaces file.
You should follow me on twitter here or grab rss feed to keep track of new changes.
Featured Articles:
- 30 Handy Bash Shell Aliases For Linux / Unix / Mac OS X
- Top 30 Nmap Command Examples For Sys/Network Admins
- 25 PHP Security Best Practices For Sys Admins
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- Linux: 20 Iptables Examples For New SysAdmins
- Top 20 OpenSSH Server Best Security Practices
- Top 20 Nginx WebServer Best Security Practices
- 20 Examples: Make Sure Unix / Linux Configuration Files Are Free From Syntax Errors
- 15 Greatest Open Source Terminal Applications Of 2012

- My 10 UNIX Command Line Mistakes
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- The Novice Guide To Buying A Linux Laptop













{ 2 comments… read them below or add one }
Interestingly enough, this command now says it is deprecated (due to a change in Debian code[1]). I think it still works, though probably for a limited time.
[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=565187
I like this site , really rich collection of solutions
i am from bangladesh , working as Project Manager
My wish to developed myself as a High level linux administrator
this site help me a lot daily