Skip to content

Instantly share code, notes, and snippets.

@AndreiCherniaev
Last active November 26, 2025 06:43
Show Gist options
  • Select an option

  • Save AndreiCherniaev/f0bf37da61a0ae000055919284adb19f to your computer and use it in GitHub Desktop.

Select an option

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"
alias lowpwr='sudo cpupower frequency-set -g powersave'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment