A colleague informs you that a specific daemon is causing issues and should be temporarily disabled without stopping it. Which command in Linux would allow you to mask the service?

  • systemctl mask
  • systemctl disable
  • systemctl stop
  • systemctl restart
To temporarily disable a service in Linux without stopping it, you can use the systemctl mask command. This command creates a symbolic link to /dev/null, preventing the service from being started automatically, but it doesn't stop the currently running service. It's a useful way to prevent a service from starting at boot.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *