Skip to content

Instantly share code, notes, and snippets.

@mindjiver
Last active December 19, 2015 05:59
Show Gist options
  • Save mindjiver/5908531 to your computer and use it in GitHub Desktop.
Save mindjiver/5908531 to your computer and use it in GitHub Desktop.
Show Erlang/OTP version in the default path
#!/bin/bash
erlang_version=$(erl -eval 'erlang:display(erlang:system_info(otp_release)), halt().' -noshell | sed -e 's/\"//g')
echo "Running Erlang/OTP $erlang_version"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment