2025-05-12
服务器相关
00

一、导出历史命令记录

1 直接导出到文件

bash
history > history_commands.txt

这将把当前用户的命令历史记录导出到history_commands.txt文件中,导出的文件默认保存在当前工作目录(即运行该命令时所在的目录)。

2025-05-11
服务器相关
00

AlmaLinux-9.x执行docker compose up -d命令时报错Connection refused

错误详情

执行docker compose up -d命令时报错

bash
curl: (7) Failed to connect to get.daocloud.io port 443: Connection refused