scorpiox-bash๐Ÿš shell

Execute shell commands and return output across platforms. A cross-platform shell execution utility for automation and scripting.

๐Ÿง Linux x64 ๐Ÿง Linux ARM64 ๐ŸŽ macOS ARM64 ๐ŸชŸ Windows x64

โš™๏ธ Flags & Options (2)

Flag Short Description Takes Value
--stream -s Stream command output in real-time instead of buffering Yes
--help -h Display help information and usage No

๐Ÿ’ก Usage Examples

Basic command execution
# Run a simple command and capture output
$ scorpiox-bash "echo Hello, World!"
Hello, World!
System information
# Get disk usage summary
$ scorpiox-bash "df -h / | tail -1"
/dev/sda1 100G 42G 58G 42% /

# Check running processes
$ scorpiox-bash "ps aux | grep nginx | head -3"
Streaming output for long-running commands
# Stream build output in real-time
$ scorpiox-bash --stream "make -j$(nproc) 2>&1"

# Stream log file monitoring
$ scorpiox-bash -s "tail -f /var/log/syslog"
Pipeline and scripting
# Chain multiple commands
$ scorpiox-bash "find /src -name '*.c' | wc -l"
47

# Use with environment variables
$ scorpiox-bash "echo $HOME && whoami"
/home/dev
dev
Cross-platform deployment checks
# Check available memory (works on Linux/macOS)
$ scorpiox-bash "free -m 2>/dev/null || vm_stat | head -5"

# Verify service status
$ scorpiox-bash "systemctl is-active nginx"
active
Display help
$ scorpiox-bash --help

๐Ÿ“ฆ Source & Build Info

Source File
scorpiox/scorpiox-bash.c
Lines of Code
933
Dependencies
libsxutil
Platforms
linux-x64 ยท linux-arm64 ยท macos-arm64 ยท windows-x64

๐Ÿ”— Related Tools