跳到主要内容
版本:0.17.0+

ubuntu

basic info

version: 18.04.6

init configuration / utilities

feat: enable back/front search commands

echo '"\e[A": history-search-backward     # arrow up      --> backward
"\e[B": history-search-forward # arrow down --> forward' >> ~/.inputrc

# reload ~/.inputrc, ref: https://superuser.com/a/1064223/1365851
bind -f ~/.inputrc

change apt sources to speed up package installation

APT_SOURCES_LIST_FILE=/etc/apt/sources.list
APT_SOURCE="http://mirrors.yun-idc.com/ubuntu/"

# backup & change source file
sudo sed -i.bak -E "s|deb \S+|deb $APT_SOURCE|g" $APT_SOURCES_LIST_FILE

# update source (要保持网络顺畅)
sudo apt update
sudo apt upgrade

how to increase partition space from free space

via built-in disk app:

picture 1