当我关闭终端会话时,它也会消失
发表于 : 2022-05-23 22:37
在过去
history -w history.txt
(将当前的历史记录保存到history.txt)
并将其保存为
history -r history.txt
(将history.txt的内容作为history加载)
并试图在新安装的debian11中重新使用它。
即使我加载了过去的历史,当我关闭终端会话时,它也会消失,我应该怎么做?
In the past
history -w history.txt
(save the current history to history.txt)
and saved it as
history -r history.txt
(load the contents of history.txt as history)
and try to reuse it in a new installation of debian11.
Even if I load the past history, it disappears when I close the terminal session, what should I do?
history -w history.txt
(将当前的历史记录保存到history.txt)
并将其保存为
history -r history.txt
(将history.txt的内容作为history加载)
并试图在新安装的debian11中重新使用它。
即使我加载了过去的历史,当我关闭终端会话时,它也会消失,我应该怎么做?
In the past
history -w history.txt
(save the current history to history.txt)
and saved it as
history -r history.txt
(load the contents of history.txt as history)
and try to reuse it in a new installation of debian11.
Even if I load the past history, it disappears when I close the terminal session, what should I do?