![]() ![]() Returns success unless an invalid option is given or an error occurs. If the $HISTTIMEFORMAT variable is set and not null, its value is usedĪs a format string for strftime ( 3 ) to print the time stamp associated If $HISTFILE has a value, that is used, else ~ /.bash_history. If FILENAME is given, it is used as the history file. s append the ARGs to the history list as a single entry p perform history expansion on each ARG and display the result w write the current history to the history file a append history lines from this session to the history file -n read all history lines not already read from the history file -r read the history file and append the contents to the history d offset delete the history entry at offset OFFSET. c clear the history list by deleting all of the entries An argument of N lists only the last N entries. ![]() History: history or history -anrw or history -ps arg ĭisplay the history list with line numbers, prefixing each modifiedĮntry with a '*'. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |