Which command is used in bash and Korn shells to display the previously used commands?
A. his
B. history
C. sh
D. ps
Answer:B
Which command is used in bash and Korn shells to display the previously used commands?
A. his B. history C. sh D. ps
Explanation: Bash and Korn support a versatile history feature that treats a previous command as an event and associates it with an event number. The history command displays the history list showing the event number of every previously executed command.