Practical Osy 4
Practical Osy 4
Windows:
1. Run a Service
• Linux Command:
• Windows Equivalent:
2. Start a Service
• Linux Command:
• Windows Equivalent:
3. Stop a Service
• Linux Command:
• Windows Equivalent:
4. Restart a Service
• Linux Command:
o Or use PowerShell:
o Restart-Service service_name
• Linux Command:
• Windows Equivalent:
• sc query service_name
Notes:
• Replace service_name with the name of the service (e.g., apache2 for Linux or wuauserv for
Windows Update).
• Windows services can be managed via the Services Manager GUI (services.msc), providing a
visual alternative to commands.