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.
Loading...
Related Quiz
- The _________ directory in Linux is typically used for transient or temporary data, often cleared during boot.
- If you want to view detailed information about disk usage for each directory, the __________ command would be appropriate.
- You've been tasked with setting up a Linux server that can share files with Windows clients in the network, ensuring they can access it seamlessly. Which software would you primarily consider installing?
- The ________ mechanism in Linux allows processes to communicate with each other, commonly used in IPC.
- In a shell script, if you want a loop to execute infinitely, which of the following would be the most appropriate construct?