Differences between RedHat and Debian

From WBITT's Cooker!

(Difference between revisions)
Jump to: navigation, search
m
Line 18: Line 18:
| /etc/init.d/network restart
| /etc/init.d/network restart
| /etc/init.d/networking restart
| /etc/init.d/networking restart
 +
|-
 +
| Service Start/stop
 +
| service <i>service</i> (start|stop|restart)
 +
| invoke-rc.d <i>service</i> (start|stop|restart)
|}
|}

Revision as of 08:31, 21 March 2011

The following is the summary of different ways of doing similar tasks in RedHat and Debian.

Task RedHat Debian
List packages rpm -qa dpkg -l
Interface configuration /etc/sysconfig/network-scripts/* /etc/network/interfaces
Network service /etc/init.d/network restart /etc/init.d/networking restart
Service Start/stop stop|restart) stop|restart)
Personal tools