Skip to content

Instantly share code, notes, and snippets.

@AndreiCherniaev
Last active December 16, 2025 13:03
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 --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"
echo "alias untar='tar -x --use-compress-program=rapidgzip -f'" >> "$HOME/.bash_aliases"
echo "alias lowpwr='sudo cpupower frequency-set -g powersave'" >> "$HOME/.bash_aliases"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment