##Day 8 Task: All systemctl commands in Linux are explained below

systemctl
In Linux, systemctl is a command-line tool that helps control your computer. It allows you to start, stop, restart, enable, disable, and check the status of these services, making it easier to control various tasks and functionalities of your system.
systemctl start [activity]:In Linux, the
systemctl startcommand is used to begin running a service or process on your computer.Day-to-day equivalent: Starting an activity you want to do.
Example:
systemctl start cookingExplanation: This command starts the web server, making your recipe's website accessible to others.
systemctl stop [activity]:In Linux, the
systemctl stopcommand is used to halt or stop a service or process that is currently running on your computer. It's like flipping a switch to turn off an appliance in your house.Day-to-day equivalent: Stopping an activity when you're done with it.
Example:
systemctl stop cleaningExplanation: This command stops the email server since you're done checking your emails for now.
systemctl restart [activity]:In Linux, the
systemctl restartcommand is used to stop and then immediately start a service or process that is running on your computer. It's like turning off and then turning on an appliance in your house.Day-to-day equivalent: Restarting an activity if something doesn't work correctly.
Example:
systemctl restart playing_musicExplanation: This command stops and then starts the chat server again, fixing any issues and making it work smoothly.
systemctl status [activity]:In Linux, the
systemctl statuscommand is used to check the current status of a service or process running on your computer. It's like looking at a display or indicator to see if an appliance in your house is currently on or off.Day-to-day equivalent: Checking the status of an ongoing activity.
Example:
systemctl status cookingExplanation: This command tells you if the web server for recipes is currently running or if there's a problem.
systemctl enable [activity]:In Linux, the
systemctl enablecommand is used to set a service or process to start automatically whenever your computer boots up. It's like programming an appliance in your house to turn on automatically whenever you switch on the power.Day-to-day equivalent: Setting an activity to start automatically when you wake up.
Example:
systemctl enable cleaningExplanation: This command configures the email server to start automatically whenever you start your computer, so you can receive emails without having to start it manually.
systemctl disable [activity]:When you use
systemctl disable [service], the specified service will no longer be set to start when your computer boots up. This means the service won't be automatically running in the background, saving system resources and allowing you to decide when you want to start it manually if needed.Day-to-day equivalent: Deciding not to do a specific activity anymore.
Example:
systemctl disable playing_musicExplanation: This command prevents the chat server from starting automatically when you start your computer, as you don't use it frequently.


