Survive in Linux/Docker environments by installing essential tools.
Install bash and curl:
apk add bash curl
Install curl:
apt update && apt install curl -y
Install curl:
$(command -v dnf || command -v microdnf) install curl -y
Pipe the online survive.sh
script to bash. Available at:
- Full URL: https://raw.githubusercontent.com/mtovmassian/linux-survivalist/main/src/survive.sh
- Shorten URL: https://bit.ly/srvv
curl -s -L https://raw.githubusercontent.com/mtovmassian/linux-survivalist/main/src/survive.sh | bash
For example process and text
curl -s -L https://raw.githubusercontent.com/mtovmassian/linux-survivalist/main/src/survive.sh | bash -s -- --process --text
curl -s -L https://raw.githubusercontent.com/mtovmassian/linux-survivalist/main/src/survive.sh | bash -s -- --quiet