zoukankan      html  css  js  c++  java
  • docker镜像不支持常用命令

    ll就是其中一个

    方法:修改.bashrc

    nano ~/.bashrc

    # ~/.bashrc: executed by bash(1) for non-login shells.
    
    # Note: PS1 and umask are already set in /etc/profile. You should not
    # need this unless you want different defaults for root.
    # PS1='${debian_chroot:+($debian_chroot)}h:w$ '
    # umask 022
    
    # You may uncomment the following lines if you want `ls' to be colorized:
    # export LS_OPTIONS='--color=auto'
    # eval "`dircolors`"
    # alias ls='ls $LS_OPTIONS'
    # alias ll='ls $LS_OPTIONS -l' 
    # alias l='ls $LS_OPTIONS -lA'
    #
    # Some more alias to avoid making mistakes:
    # alias rm='rm -i'
    # alias cp='cp -i'
    # alias mv='mv -i'
    ————————————————
    版权声明:本文为CSDN博主「Dogfish」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。
    原文链接:https://blog.csdn.net/dogfish/article/details/54881007
    #alias ll='ls $LS_OPTIONS -l' 对这一行取消注释
    然后记得 source ~/.bashrc,完事

    vs code是基于SSH对服务器进行连接,保存后就可以通过CONNECTION侧边栏进行连接了,所以建议通过把本机的 ssh 公钥添加到服务器的 authorized_keys 文件中,具体的操作流程请百度 “ssh公钥连接
  • 相关阅读:
    bzoj 2618: [Cqoi2006]凸多边形
    BZOJ 4556 [Tjoi2016&Heoi2016]字符串
    BZOJ 4850 [Jsoi2016]灯塔
    BZOJ 2956: 模积和
    PHP 正则表达式
    Linux Centos6.5安装redis3.0 和phpredis
    linux 删除过期文件
    THINKPHP报错 _STORAGE_WRITE_ERROR
    THINKPHP 部署nginx上URL 构造错误
    Linux 修改mysql密码
  • 原文地址:https://www.cnblogs.com/lthuang/p/12102354.html
Copyright © 2011-2022 走看看