Skip to main content

Posts

Showing posts from November, 2014

CentOS 7 and RHEL 7 new commands

In CentOS 7/RHEL 7 the 'service' command has now been changed to systemctl. Now the command are: systemctl start sshd.service  The above line will start sshd service. systemctl restart sshd The above line is a short form command. chkconfig command has also changed. Now to enable service during boot is: systemctl enable sshd To disable service during boot is: systemctl disable sshd To check startup list: systemctl list-unit-files --type=service