» Linux » Examen sur Linux » Examen 201 : Advanced Administration » Section 1 » Question 9/20
9.In order to display the last five commands you have entered using the history command, you would type _______.
Answer: history 5

Explanation: The history command is used to display the previously entered commands. If you typed history with no arguments, you would likely get a long scrolling list of commands. By typing a number after 'history', you will display only the last of commands.

Reference: http://www.redhat.com/docs/manuals/linux/RHL-7.3-Manual/getting-started-guide/s1-q-andahistory- tips.html

« Question 8 Question 10 »