Which of the following commands is used by an attacker to delete only the history of the current shell and retain the command history of other shells?

A. cat /dev/null> ~.bash_history && history -c && exit
B. history -w
C. export HISTSIZE=0
D. history -c


Answer: B. history -w

Sociology

You might also like to view...

Which type of economic system has government working closely with large, privately owned companies?

a. state socialism b. state capitalism c. social welfare d. state welfare

Sociology

Describe the role of bodies in doing gender. Provide an example of how men and women’s bodies are invested in the process of doing gender?

What will be an ideal response?

Sociology

In the video "This is What Democracy Looks Like" _______ were the most violent group.

A. Anarchists B. police C. students D. environmentalists

Sociology

Sentences that are required by law under certain circumstances are referred to as ________.

Fill in the blank(s) with the appropriate word(s).

Sociology