docker ubuntu 的vi,nano命令无法使用的解决方案

使用echo和tee命令更新软件源:
echo "deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal main restricted universe multiverse" | tee /etc/apt/sources.list

posted @ 2024-04-19 12:32  jacknituanxiong  阅读(246)  评论(0)    收藏  举报