Machine-translated by Google. Questions are authored in English.
Top

Discussion

What is the most appropriate purpose of 'kill' command in Linux ?

  • A.Kill a running process
  • B.Send a signal to a process
  • C.Abort a user login
  • D.Shutdown the operating system

Answer: B

The kill command is used to Send a signal to a process.

Despite its name, kill sends any signal to a process: by default SIGTERM, asking it to terminate, but also SIGKILL, SIGSTOP, SIGCONT, SIGHUP and others, for example kill -HUP 1234 to make a daemon reload its configuration.

Terminating a process is only one common use, which is why 'Kill a running process' is less appropriate. Ending a login session or shutting the system down is done with other commands.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.