Which Bash environment variable defines in which file the user history is stored when exiting a Bash process? (Specify ONLY the variable name.)
Answer: HISTFILE
题解
bash 的「HISTFILE」变量所保存的路径为 bash 指令纪录文件的路径。预设路径为「~/.bash_history」。
MagicLen · https://magiclen.org
本站也提供繁體中文版。切換到繁體中文版
Which Bash environment variable defines in which file the user history is stored when exiting a Bash process? (Specify ONLY the variable name.)
Answer: HISTFILE
bash 的「HISTFILE」变量所保存的路径为 bash 指令纪录文件的路径。预设路径为「~/.bash_history」。