shell enabled community medium v1.0.0

ash

Almquist shell, a lightweight Unix shell that can write files and spawn interactive shells.

📋 Live Preview
ash {c}
📎 c
ash {c}

Sandbox: execFile · Timeout: 30s

Capabilities

security.privilege-escalation.shell
security.execution.command
system.file.write

Parameters

Name Type Required Default Description Aliases
c string No - Command to execute -c
p string No - Privileged mode (no profile files) -p

Contract

Outputs

process.output

Shell or command output

Side effects: process_spawn

Workflow Edges

Produces

process.output

Resource Profile

ResourceValue
CPUlow
Memory2 MB
Networklow
Disk I/Olow

Examples

Spawn interactive shell

ash

Spawn privileged interactive shell (SUID)

ash -p

Write arbitrary data to file

ash -c 'echo DATA >/path/to/output-file'

Documentation

ash — Almquist Shell

ash is a lightweight Unix shell commonly used in embedded systems and as /bin/sh on some BSD systems. When installed with SUID, it can spawn a privileged shell with -p flag.

Related Tools

bashshdash

References