Available Executables

Last Updated December 2014

Pagoda Box gives you access to specific executables in your live environment by default. What exectuables are available depends on what type of web or worker service in which you're trying to run them. This doc lists the available executables included in each web and worker type. After reading it, you'll be familiar with:

  • What executables are available per web and worker type

Executables Available to Each Language

Select Your Service Type

Available Executables in PHP Services

  awk
  bunzip2
  bzcat
  bzip2
  cat
  chown
  cp
  curl
  cut
  date
  echo
  grep
  gunzip
  gzip
  ls
  make
  mkdir
  mv
  node # v0.10.4
  perl
  php # version specified in Boxfile
  pwd
  python # v3.3.1
  rm
  rmdir
  ruby # v2.0.0
  sed
  tar
  touch
  uncompress
  wget
  zcat

Shebangs (#!)

If using a shebang to declare the executable in a script, use the following shebang path:

Example Shebang Path

  #!/usr/bin/env <executable>

  #Examples
  #!/usr/bin/env php
  #!/usr/bin/env ruby
  #!/usr/bin/env python

If you have any questions, suggestions, or corrections, let us know.