HISTFILESIZE is how many commands can be stored in the. ![]() ![]() The HISTFILE variable holds the name and location of your Bash history file. The three related environment variables you need to be aware of are HISTFILE, HISTFILESIZE, and HISTSIZE. bash_history file as you would any other plain ASCII text file. The leading (.) makes the file hidden from normal view. In Bash, your command history is stored in a file (. ![]() This article will take the mystery out of Bash history to make it a more friendly sysadmin tool. Or, should that be much more to the history? In either case, the history command is one of those obscure commands that is powerful and handy to know on at least a basic level. You probably know about using the up and down arrow keys to scroll through your Bash history, but did you know that there's a lot more to Bash history than just repeating commands? There is much more to the story.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |