Which Linux command could be used to discover the process ID (PID) for a specific process before using the kill command?

IT Exam Items RepositoryCategory: CCNA CyberOpsWhich Linux command could be used to discover the process ID (PID) for a specific process before using the kill command?

Which Linux command could be used to discover the process ID (PID) for a specific process before using the kill command?

  • ps
  • ls
  • chkrootkit
  • grep

Explanation: The ps command is used before the kill command to discover the PID for the specific process. The kill command requires root privileges, but listing the processes that use the ps command does not.

Related exam: CCNA Cyber Ops Final Exam Answers