Update shell script interpreter instructions (#43361)

This commit is contained in:
Noah Talerman
2026-04-24 09:13:20 -04:00
committed by GitHub
parent e9f74a309e
commit c0297c7e55
+1 -3
View File
@@ -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`).