How do you see command line history in UNIX?

The ‘history’ command can be used to get the list of commands that we are executed.

Category: UNIX Interview Questions.