220-1002 · Question #254
A Linux user reports that an application will not open and gives the error. Only one instance of the A root administrator logs on to the device and opens a application may run at one time. terminal…
The correct answer is D. ps and kill. The error indicates the application believes an instance is already running. On Linux, the correct approach is to first identify running processes and then terminate the rogue one. The 'ps' command (process status) lists currently running processes, allowing the admin to find…
Question
A Linux user reports that an application will not open and gives the error. Only one instance of the A root administrator logs on to the device and opens a application may run at one time. terminal. Which of the following pairs of tools will be needed to ensure no other instances of the software are currently running?
Options
- Apad and chmod
- Bsudo and vi
- Cls and chown
- Dps and kill
- Ecp and rm
How the community answered
(35 responses)- A3% (1)
- C3% (1)
- D94% (33)
Explanation
The error indicates the application believes an instance is already running. On Linux, the correct approach is to first identify running processes and then terminate the rogue one. The 'ps' command (process status) lists currently running processes, allowing the admin to find any existing instance of the application. The 'kill' command then terminates that process by its PID. Together, ps and kill directly solve the problem. The other pairs are unrelated: pad/chmod deal with permissions, sudo/vi is an editor with privilege escalation, ls/chown lists directory contents and changes ownership, and cp/rm copies and removes files.
Topics
Community Discussion
No community discussion yet for this question.