0% found this document useful (0 votes)
18 views2 pages

Practical Osy 4

Osy practical no 4

Uploaded by

omkokate555
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views2 pages

Practical Osy 4

Osy practical no 4

Uploaded by

omkokate555
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Here’s a guide to Linux commands for run, start, stop, and restart and their respective equivalents in

Windows:

1. Run a Service

• Linux Command:

• systemctl start service_name

(Starts a specific service.)

• Windows Equivalent:

• net start service_name

(Starts the specified service in Windows.)

2. Start a Service

• Linux Command:

• systemctl start service_name

(Starts the service if it's not running.)

• Windows Equivalent:

• net start service_name

(Same as running a service in Windows.)

3. Stop a Service

• Linux Command:

• systemctl stop service_name

(Stops a running service.)

• Windows Equivalent:

• net stop service_name

(Stops a running service in Windows.)

4. Restart a Service

• Linux Command:

• systemctl restart service_name

(Stops and then starts the service again.)


• Windows Equivalent:

o Stop and start manually:

o net stop service_name

o net start service_name

o Or use PowerShell:

o Restart-Service service_name

5. Check Status of a Service

• Linux Command:

• systemctl status service_name

(Displays the status of the service, including whether it’s running.)

• Windows Equivalent:

• sc query service_name

(Displays the status of a service in Windows.)

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.

Let me know if you'd like additional details!

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy