How do I start, stop, or restart networking service under HP-UX, OpenBSD, AIX and other Unix like operating systems?
You can use the following commands as per your UNIX operating systems.
HP-UX Unix start / stop / restart networking service
# /etc/init.d/net start
# /etc/init.d/net stop
# /etc/init.d/net restart
IBM AIX Unix start / stop / restart networking service
Simply type the following command to make changes to tcp/ip
# smitty mktcpip
Start network service:
# startsrc
Stop network service:
# startsrc
OpenBSD start / stop / restart networking service
See this faq for more information on how to restart networking service:
# sh /etc/netstart pnc0
FreeBSD start / stop / restart networking service
See this post for more information on how to restart networking service:
# /etc/rc.d/netif restart
Sun/Oracle Solaris Unix start / stop / restart networking service
# svcadm restart physical
Linux: CentOS / RHEL / Red Hat / Fedora start / stop / restart networking service
See this faq for more information:
# service network stop
# service network start
# service network restart
Linux: Debian / Ubuntu server start / stop / restart networking service
See this faq for more information:
# service networking stop
# service networking start
# service networking restart
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




![Unix Copy Command Examples [ cp command ]](http://s13.cyberciti.org/images/shared/rp/3/16.jpg)








{ 4 comments… read them below or add one }
not, error in text.
for HP-UX is /sbin/init.d/net and not /etc/init.d/net
For Debian, this method throws an error.
For AIX, to stop the service “stopsrc”. for refresh the services “refresh
Realy very help full these command of me Ubuntu machine
Regards