Re:In defense of PowerShell
by tokenizerrr on Monday August 24, 2015 @06:18PM
(#10113224)
What about service apache2 restart
[ Parent
| on HN ]
Re:In defense of PowerShell
by yellowapple on Monday August 24, 2015 @06:42PM
(#10113326)
Or /etc/rc.d/apache2 restart, as one would find in the BSD world (and Slackware, with a bit of modification).
This isn't to mention that it should be relatively trivial to map "restart-service $foo" to "/etc/rc.d/$foo restart" or "systemctl $foo.service restart" or whatever if one so chooses.
FreeBSD uses the service command these days too.
Re:In defense of PowerShell
by yellowapple on Tuesday August 25, 2015 @03:09PM
(#10118809)
Good to know. In that case, "BSD Land minus FreeBSD and possibly its descendants".