From a43bc6a86ed52be7d63f5106d344a142badf92e6 Mon Sep 17 00:00:00 2001 From: Noah Talerman <47070608+noahtalerman@users.noreply.github.com> Date: Thu, 9 Apr 2026 15:33:36 -0400 Subject: [PATCH] Update shell script interpreter instructions Clarified instructions for running shell scripts with different interpreters. --- articles/scripts.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/articles/scripts.md b/articles/scripts.md index 95057d03d2..53cb3eaacf 100644 --- a/articles/scripts.md +++ b/articles/scripts.md @@ -4,9 +4,7 @@ In Fleet you can run custom scripts to remediate an issue on your macOS, Windows Shell (`.sh`) and Python (`.py`) scripts are supported on macOS and Linux. -By default, shell scripts will run in the host's (root) shell (`/bin/sh`). We also support `/bin/zsh` and `/bin/bash` interpreters. - -> To run a shell script in `/bin/zsh` or `/bin/bash`, add a shebang as the first line (for example, `#!/bin/zsh` or `#!/bin/bash`). +By default, shell scripts will run in the host's (root) shell (`/bin/sh`). To run a shell script in `/bin/zsh` or `/bin/bash`, add a shebang as the first line (for example, `#!/bin/zsh` or `#!/bin/bash`). Python scripts must start with a Python shebang as the first line (for example, `#!/usr/bin/env python3` or `#!/usr/bin/python3`).