🔥 3-day streak
CompTIA PenTest+ (PT0-003)55 / 175
Question 55 of 175
During an authorized engagement, a penetration tester has interactive shell access to a compromised Linux server using a shared service account. Before disconnecting for the day, the tester wants to prevent the commands run during this session from being written to the account's ~/.bash_history file when the shell exits, without altering historical entries that existed before the session began. Which action best accomplishes this goal?
Reviewed for accuracy · Report an issueNext question