3,135
edits
# 实现黄字 user@server,以区分 server 和 local
export PS1='\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;33m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
</syntaxhighlight>
<syntaxhighlight lang="bash" line>
# 显示手动安装的 .deb 包
apt list --installed | grep "local]"
</syntaxhighlight>
|