bashhistory > history_commands.txt
history > history_commands.txt
这将把当前用户的命令历史记录导出到history_commands.txt文件中,导出的文件默认保存在当前工作目录(即运行该命令时所在的目录)。
history_commands.txt
执行docker compose up -d命令时报错
docker compose up -d
bashcurl: (7) Failed to connect to get.daocloud.io port 443: Connection refused
curl: (7) Failed to connect to get.daocloud.io port 443: Connection refused