history command in Linux/Unix.
-c Clear the history list by deleting all the entries.
-d offset Delete the history entry at position offset.
-a Append the ``new'' history lines (history lines entered since the beginning of the current bash session) to the history file.
-n Read the history lines not already read from the history file into the current history list. These are lines appended to the history file since the beginning of the current bash session.
-r Read the contents of the history file and use them as the current history.
-w Write the current history to the history file, overwriting the history file's contents.
-p Perform history substitution on the following args and display the result on the standard output. Does not store the results in the history list. Each arg must be quoted to disable normal history expansion.
-s Store the args in the history list as a single entry. The last command in the history list is removed before the args are added.
Смотрите видео Linux Command Line Tutorial | history command | Remember Commands Like Pro | FOTV онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Dilkush 09 Май 2018, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 2,51 раз и оно понравилось 3 людям.