12132017Headline:

How to start and stop services/daemons in Unix/Lnux System

You may need to restart services after you changed the configuration files. You can use the following methods to restart services.

RedHat, CentOS and Fedora Core Linux
/sbin/service sshd restart

Suse linux
/etc/rc.d/sshd restart

Debian/Ubuntu
/etc/init.d/sshd restart

Solaris 9 and below
/etc/init.d/sshd stop
/etc/init.d/sshd start

Solaris 10
svcadm disable ssh
svcadm enable ssh

AIX
stopsrc -s sshd
startsrc -s sshd

HP-UX
/sbin/init.d/secsh stop
/sbin/init.d/secsh start

What Next

Recent Articles

Leave a Reply

Submit Comment