End-of-day update and shut down script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -Eeuo pipefail | |
sudo --validate | |
concurrently \ | |
--names 'apt,docker,node,ruby,rust' \ | |
--prefix-colors 'yellow,blue,green,red,cyan' \ | |
'sudo apt-get update && sudo apt-get upgrade --yes' \ | |
'docker system prune --force --volumes' \ | |
'nvm-update' \ | |
'rbenv update' \ | |
'rustup update stable && cargo install-update --all' | |
sudo poweroff |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
concurrently
is open-cli-tools/concurrently.