How to get a list of available `heroku run` commands?

There are several Linux source commands that are not available with heroku run, for example, heroku run less filenameand heroku run apropos. How to get a list of all available commands heroku run?

Btw I am just trying to examine some files and files from my application, but for some reason I cannot view them with the available commands. I tried cd my_project/my_application && ls, but for some reason it just shows lsof my_project.

+5
source share
2 answers

You can get a list of commands doing lsin the /binHeroku folder . Follow these steps:

  • Log in to Heroku via bash: heroku run bash
  • Bin list commands: ls /bin

, . , , .

+9

bash dyno heroku run bash :

echo -n $PATH | xargs -d : -I {} find {} -maxdepth 1 -executable -type f -printf '%P\n' | sort -u

(: Linux )

+1

All Articles