linux history

1
2
cat ~/.bash_history

缓存

history -r

读取历史文件并将其内容添加到历史记录中,即重置文件里的内容到内存中.