Survive in Linux/Docker environments by installing essential tools.
Install bash and curl:
apk add bash curlInstall curl:
apt update && apt install curl -yInstall curl:
$(command -v dnf || command -v microdnf) install curl -yPipe 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 | bashFor example process and text
curl -s -L https://raw.githubusercontent.com/mtovmassian/linux-survivalist/main/src/survive.sh | bash -s -- --process --textcurl -s -L https://raw.githubusercontent.com/mtovmassian/linux-survivalist/main/src/survive.sh | bash -s -- --quiet