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公钥连接
  • 相关阅读:
    高程5.4 RegExp类型
    高程5.3 Date类型
    高程5.2.9归并方法
    20151119js上课总结
    从0~100之间随机取出不重复的10个数
    高程5.2.8迭代方法
    HTML常用标签
    20151118小问题
    20151117小问题
    《QT Creator快速入门》
  • 原文地址:https://www.cnblogs.com/lthuang/p/12102354.html
Copyright © 2011-2022 走看看