The history command displays a list of commands you have previously typed. For this command to work correctly you must first type set history=n where n is the letter before o and the number of commands that should be saved. A peek at section [*] may help explain this.