sh
Verified for current stable LTS
Sh Command: Execute Command And Exit
Use for execute command and exit with Sh. Exact CLI syntax to execute command and exit using Sh.
When to use this: Use for execute command and exit with Sh.
Command Syntax
sh -c "<command>" sh -c "<command>" Command Breakdown
-c- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to execute command and exit using Sh.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Sh Command: Execute Script
sh <path/to/script.sh> Sh Command: Read And Execute Stdin Commands sh -s Sh Command: Start Interactive Shell Session sh Grep Command: Print File Name And Line Number With Color Output grep -Hn --color=always "<search_pattern>" <path/to/file> Grep Command: Use Extended Regexes Case Insensitive grep -Ei "<search_pattern>" <path/to/file>