nerdexam
CompTIACompTIA

PT0-003 · Question #229

PT0-003 Question #229: Real Exam Question with Answer & Explanation

Sign in or unlock PT0-003 to reveal the answer and full explanation for question #229. The question stem and answer options stay visible for context.

Submitted by layla.eg· Mar 6, 2026Post-exploitation and Lateral Movement

Question

A penetration tester is enumerating a Linux system. The goal is to modify the following script to provide more comprehensive system information: #!/bin/bash ps aux >> linux_enum.txt Which of the following lines would provide the most comprehensive enumeration of the system? cat /etc/passwd >> linux_enum.txt A. netstat -tulr >> linux_enum.txt cat /etc/bash.bashrc >> linux_enum. txt

Options

  • Bwhoami >> linux_enum.txt
  • Chostname >> linux_enum.txt
  • Dlsof -i >> linux_enum.txt

Unlock PT0-003 to see the answer

You've previewed enough free PT0-003 questions. Unlock PT0-003 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Linux enumeration#network configuration#user accounts#system information
Full PT0-003 PracticeBrowse All PT0-003 Questions