Skip to content

Instantly share code, notes, and snippets.

@roncat
Last active August 29, 2015 14:10
Show Gist options
  • Save roncat/24629752b2607d9e4789 to your computer and use it in GitHub Desktop.
Save roncat/24629752b2607d9e4789 to your computer and use it in GitHub Desktop.
Commands
COMMANDS RHEL 7
===============
=> SYSTEMCTL
systemctl list-units --type=service | grep running
systemctl list-units --type=service | grep failed
systemctl list-units --type=service
systemctl stop postfix.service
systemctl start postfix.service
systemctl status postfix.service
systemctl enable named.service
systemctl is-enabled httpd
!-1
!-2
!$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment