Linux command
es 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Start es shell
es
Run command
es -c "[echo hello]"
Run script
es [script.es]
Start without initialization
es -p
说明
es is an extensible shell derived from rc (the Plan 9 shell) with first-class functions, lexical scoping, and exception handling. It provides a clean, programmable shell with functional programming features. Unlike traditional shells, es treats functions as first-class values, supports closures, and has a simpler, more consistent syntax than bash or zsh.
参数
- -c _command_
- Execute command string.
- -p
- Don't load profile.
- -l
- Act as login shell.
- -v
- Print input to stderr.
- -x
- Print commands before execution.
- -i
- Force interactive mode.
- -n
- Parse only, don't execute.
FAQ
What is the es command used for?
es is an extensible shell derived from rc (the Plan 9 shell) with first-class functions, lexical scoping, and exception handling. It provides a clean, programmable shell with functional programming features. Unlike traditional shells, es treats functions as first-class values, supports closures, and has a simpler, more consistent syntax than bash or zsh.
How do I run a basic es example?
Run `es` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -c _command_ do in es?
Execute command string.