Skip to content

Run Shell Commands

Sometimes the quickest way to find out what’s going on inside a pod is to look around from the inside. The Shell lets you run simple commands directly in your pod’s app container, right from the dashboard.

  1. Make sure the pod is running. Resume it first via More > Resume Pod if it’s paused.
  2. On your pod card, open Troubleshooting > Shell.
  3. Enter a command and run it. The output is shown below the input.

Commands run inside the app’s container, so they see the same files and environment as the app itself.

  • Check disk usage: Find out what’s filling up your storage.
  • Read config and log files: Check that a config change made via SFTP actually landed, or read an app’s own log file without setting up an SFTP client.
  • Check environment variables: Confirm that a value set under ⚙️ Edit Pod Settings > Env Vars reached the app.
  • Run an app’s own CLI: Many apps ship command-line tools for maintenance tasks, such as clearing caches or resetting a password. See the App Help page for your app and the app’s official documentation.

Some useful commands to start with:

Terminal window
df -h # free and used space
du -sh /data/* # size of each folder under /data
ls -la /data # list files, including hidden ones
cat /path/to/config.file
env # environment variables

Folder names differ between apps. Use the same paths you see over SFTP as a guide.

  • Simple commands only: The Shell is meant for short, non-interactive commands. Editors (like vi or nano), commands that ask for input, and long-running jobs won’t work.
  • Time limit: Commands are currently limited to about 15 seconds of run time. Longer commands are supported via other methods.
  • Available tools depend on the app: Each app runs in its own container image, built by the app’s authors. Minimal images may lack common tools like curl, less or even bash.
  • Changes outside volumes don’t persist: Only files in your pod’s persistent volumes (the ones you see over SFTP) survive restarts and updates. Anything else is reset. See Editing App Files or Source Code.

If you’re stuck, see Troubleshooting a Pod for other checks, or click Report Issue on your pod card and include the commands you ran and their output.