Skip to content

Instantly share code, notes, and snippets.

@Razuuu
Last active November 7, 2023 15:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Razuuu/5f0cf2f5e456ce9ec3e5bc6ac155734e to your computer and use it in GitHub Desktop.
Save Razuuu/5f0cf2f5e456ce9ec3e5bc6ac155734e to your computer and use it in GitHub Desktop.
apt all commands -> /usr/bin/aptall
#!/bin/bash
for i in update upgrade dist-upgrade full-upgrade autoremove; do
repeat(){ for j in {1..25}; do echo -n "#"; done }
repeat; echo -e "\n\nexecuting command: apt -y ${i}\n"; repeat; echo
apt -y ${i}
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment