在过去
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?
当我关闭终端会话时,它也会消失
-
- 帖子: 688
- 注册时间: 2016-06-03 14:39
- 系统: debian11 mate
-
- 帖子: 688
- 注册时间: 2016-06-03 14:39
- 系统: debian11 mate
Re: 当我关闭终端会话时,它也会消失
すいません
访问出现异常,请刷新后重试! と出て
百度翻译が使えません。解決方法を教えてください
I'm afraid it's not directly related to linux.
访问出现异常,请刷新后重试! and out.
I can't use the Baidu Translations. Please let me know how to solve this problem.
访问出现异常,请刷新后重试! と出て
百度翻译が使えません。解決方法を教えてください
I'm afraid it's not directly related to linux.
访问出现异常,请刷新后重试! and out.
I can't use the Baidu Translations. Please let me know how to solve this problem.
- astolia
- 论坛版主
- 帖子: 6542
- 注册时间: 2008-09-18 13:11
Re: 当我关闭终端会话时,它也会消失
代码: 全选
cp history.txt ~/.bash_history
-
- 帖子: 688
- 注册时间: 2016-06-03 14:39
- 系统: debian11 mate
- astolia
- 论坛版主
- 帖子: 6542
- 注册时间: 2008-09-18 13:11
-
- 帖子: 688
- 注册时间: 2016-06-03 14:39
- 系统: debian11 mate
Re: 当我关闭终端会话时,它也会消失
新規installのdebian 11を0から構築しているのですが、本当に大変です。これほど多くの設定をしていかなければいけないのかと!もちろん、通常は/homeディレクトリ全体を移動します
わからない点はネット検索と、busterのインストール状態と比較して一歩ずつです。
マシンの世代的にはノートのほうが5年ほど新しいのですが、自分にとっては、机・椅子・キーボード・ディスプレイなどの理由により、現在投稿文を作成中のこのデスクトップの方が使いやすく、ほとんどはこのマシンを使用です。
astoliaさんの この言葉の意味がちょっとわかりません。新規installのdebian 11に、以前使用のdebian 10の「/homeディレクトリ全体を移動」こんなことができるのですか?それで色々のソフトが使用可能なのですか?
我正在从头开始建立一个新的INSTALL debian 11,这真的很困难。 我想我必须做这么多的配置! 我不明白的是,通过在网上搜索并与破坏者的安装进行比较,一步一步地。 我之所以使用这台台式机,大部分原因是由于桌子、椅子、键盘、显示器等,对我来说更容易使用。 我不明白。 是否可以将以前的debian 10的 "整个/home目录 "移动到新的debian 11安装中? 我可以用它来使用各种软件吗?