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公鑰連接