Oracle
1Z0-409 · Question #210
As root user you have set the environment variable HISTIGNORE="ls:man:pwd:cat" with the other history-related shell variables at their default. What impact does it have on shell history?
The correct answer is A. History will ignore only the commands listed in the HISTIGNORE variable. See the full explanation below for the reasoning.
Question
As root user you have set the environment variable HISTIGNORE="ls:man:pwd:cat" with the other history-related shell variables at their default. What impact does it have on shell history?
Options
- AHistory will ignore only the commands listed in the HISTIGNORE variable.
- BHistory will save only the first occurrence of the commands listed in the HISTIGNORE variable.
- CHistory will ignore only the commands, issued with any valid switch, listed in the HISTIGNORE
- DHistory will save only the first occurrence of the commands, issued with any valid switch, listed in
How the community answered
(64 responses)- A81% (52)
- B9% (6)
- C6% (4)
- D3% (2)
Community Discussion
No community discussion yet for this question.