Skip to content

Instantly share code, notes, and snippets.

@kogcyc
Last active January 8, 2017 20:39
Show Gist options
  • Save kogcyc/45a078736c226c26f034bd6b1035143b to your computer and use it in GitHub Desktop.
Save kogcyc/45a078736c226c26f034bd6b1035143b to your computer and use it in GitHub Desktop.
how to find the distribution on which your Heroku app is running
user@host:~$ heroku run cat /etc/*-release --app app_name
Running cat /etc/lsb-release /etc/os-release on ⬢ app_name... up, run.1971 (Free)
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.5 LTS"
NAME="Ubuntu"
VERSION="14.04.5 LTS, Trusty Tahr"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 14.04.5 LTS"
VERSION_ID="14.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment