I had no idea how to name the thing I'm looking for but I will try to describe it.
I'm looking for a tool that would allow you to do common tasks using the same command line on most platforms. It will do this by calling the platform specific tool.
service apache stop/start/restart - working even if you are running Ubuntu where apache is apache2
service network restart - reinitialize all network interfaces
service apache disable - disable it from starting
service firewall stop/start/restart - that would use the OS firewall (detecting it)
pm install abc - that would run yun, apt-get, port, or raise not-implemented on Windows :)
pm remove abc
pm search abc - to find a package by its name
ifconfig - to run
ipconfig when on windows
Is there any tool that is aiming to bring this? If not, you would like to contribute in one?