» Linux » Examen sur Linux » Examen 201 : Advanced Administration » Section 4 » Question 10/20
10.In order to display the last five commands you have entered using the fc command, you would type _____.
Answer: fc -l -5

Explanation: The -l option used with the fc commands is used to list the previously entered commands. You can specify how many commands to list with the -<number> option after the -l option, for example, fc –l -5.

Reference: http://sseti.udg.es/marga/books/O'Reilly-The_Linux_Web_Server-CDBookshelfv1.0/linux_web/lnut/ch07_06.htm

« Question 9 Question 11 »