The history command of a linux Command in a day is used to display the commands that have been used and numbered them. History n displays n recent commands. Www.2cto.com history-c clears the history of the current shell. History-d 801: delete a command numbered 801. History-a append the latest command to the history file. History-n indicates that no historical records have been read from history files. History-r uses the records in the history file as the history of the current shell. History-w writes the current record to the history file to overwrite the original content. -P Perform history substitution on the following args anddisplay the result on the standard output. does notstore the results in the history list. each arg must bequoted to disable normal history expansion. www.2cto.com-s Store the args in the history list as a single entry. the last command in the history list is removed beforethe args are added .!! Run the previous command .! N: Execute the nth command .! Cd: run the latest command starting with cd .! There is no space at the end. Author: CrazyNemo