CompTIA A+ Core 2 (220-1002) — Question 121

A technician logs on to a Linux computer and runs the following command: ps -aux | grep vi
Which of the following MOST accurately describes the effect of the command?

Answer options

Correct answer: D

Explanation

The correct answer is D because the command 'ps -aux' lists all running processes, and 'grep vi' filters that list to show only those processes related to 'vi', which is a text editor. Options A, B, and C are incorrect as they misinterpret the function of the command; it does not terminate processes, display directories, or create files.