---
name: "globus-sh-exec"
section: "1"
platform: "linux"
package: "globus-common-progs"
version: "18.14-3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/globus-sh-exec"
---

# globus-sh-exec(1)

Run a shell script

## NAME

globus-sh-exec - Run a shell script

## SYNOPSIS

**globus-sh-exec** \[ -help \| -usage \| -version \]

**globus-sh-exec** *COMMAND* \[*ARGS*...\]

**globus-sh-exec** -e *EXEC*

## DESCRIPTION

The **globus-sh-exec** command executes a shell script, setting the GLOBUS\_SH\_PERL and GLOBUS\_SH environment variables to the perl and posix shell interpreters respectively. The *COMMAND* script can be a local file or a GASS url, in which case it is downloaded by **globus-url-copy** before execution. The *ARGS* parameters, if any, are passed as the command-line options to *COMMAND*.

The full set of options to **globus-sh-exec** are

- **-help, -usage**

  Print usage information and exit.

- **-version**

  Print version information and exit.

- **-list, -l**

  Lists the defined *GLOBUS\_SH\_* variables and exits.

- **-exec** *EXEC***, -e** *EXEC*

  Run the command *EXEC* instead of executing a separate script.

## AUTHOR

Copyright © 1999-2016 University of Chicago
