Skip to content

Instantly share code, notes, and snippets.

@AndreiCherniaev
Last active September 1, 2025 06:02
Show Gist options
  • Save AndreiCherniaev/f0bf37da61a0ae000055919284adb19f to your computer and use it in GitHub Desktop.
Save AndreiCherniaev/f0bf37da61a0ae000055919284adb19f to your computer and use it in GitHub Desktop.
[Debian] install must-have aliases for virtual machine
echo "alias upd='sudo apt-get -o Acquire::Check-Valid-Until=false -o Acquire::Check-Date=false update && sudo apt upgrade -y && sudo apt autoremove -y'" >> "$HOME/.bash_aliases"
echo "alias t='sudo apt-get -o Acquire::Check-Valid-Until=false -o Acquire::Check-Date=false update && sudo apt autoremove -y'" >> "$HOME/.bash_aliases"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment