The command in current shell will not save to .bash_history unless you exit the shell. But when you type "history -w", you will flush it in .bash_history.
To earse the history, you should type"history -c", the command will clean all records in current shell.
785

被折叠的 条评论
为什么被折叠?



