Linux command
ash 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Start
ash
Execute
ash -c "[command]"
Example
ash [script.sh]
说明
ash (Almquist Shell) is a lightweight POSIX-compliant shell. It's smaller and faster than bash, making it suitable for embedded systems and as /bin/sh on minimal systems. Many systems use dash (Debian Almquist Shell) as their ash implementation. BusyBox also includes an ash implementation.
参数
- -c _command_
- Execute command string
- -i
- Interactive mode
- -l
- Login shell
- -s
- Read commands from stdin
FAQ
What is the ash command used for?
ash (Almquist Shell) is a lightweight POSIX-compliant shell. It's smaller and faster than bash, making it suitable for embedded systems and as /bin/sh on minimal systems. Many systems use dash (Debian Almquist Shell) as their ash implementation. BusyBox also includes an ash implementation.
How do I run a basic ash example?
Run `ash` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -c _command_ do in ash?
Execute command string