Skip to content

Instantly share code, notes, and snippets.

@meyju
Last active May 13, 2017 12:31
Show Gist options
  • Save meyju/621a6126432108f8042516b0ea6d2a21 to your computer and use it in GitHub Desktop.
Save meyju/621a6126432108f8042516b0ea6d2a21 to your computer and use it in GitHub Desktop.
Wget Bash Installer done right
# Transfer this over a secure connection, e.g. https
wget -q -O bash_installer.sh https://example.com/bash_installer.sh && \
echo "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 bash_installer.sh" | sha256sum -c && \
chmod +x ./bash_installer.sh && \
./bash_installer.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment