Ubuntu
Обновление Ubuntu OS
Настройка Алиасов
sudo apt install mlocate -y
tee -a ~/.bashrc << 'EOF'
# ------------------------------------------------------------------------------
# Prompt console
# ------------------------------------------------------------------------------
PS1='\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\]$ '
# ------------------------------------------------------------------------------
# Bind Aliases
# ------------------------------------------------------------------------------
alias upd='
sudo apt update && \
sudo DEBIAN_FRONTEND=noninteractive apt full-upgrade -y \
-o Dpkg::Options::="--force-confdef" \
-o Dpkg::Options::="--force-confold"
sudo apt upgrade--fix-broken -y
sudo apt full-upgradeinstall -y
sudo apt autoremove -y
sudo apt autoclean -y
sudo updatedbapt-get && \check
sudo apt --fix-broken install'updatedb'
alias hclean='cat /dev/null > ~/.bash_history && history -c'
# ------------------------------------------------------------------------------
EOF
source ~/.bashrc
Запуск обноления
upd