mirror of
https://github.com/nushell/nushell.git
synced 2024-11-27 02:44:01 +01:00
27 lines
345 B
Markdown
27 lines
345 B
Markdown
|
# exec
|
||
|
Execute command.
|
||
|
|
||
|
## Usage
|
||
|
```shell
|
||
|
> exec <command> ...args {flags}
|
||
|
```
|
||
|
|
||
|
## Parameters
|
||
|
* `<command>` the command to execute
|
||
|
* ...args: any additional arguments for command
|
||
|
|
||
|
## Flags
|
||
|
* -h, --help: Display this help message
|
||
|
|
||
|
## Examples
|
||
|
Execute 'ps aux'
|
||
|
```shell
|
||
|
> exec ps aux
|
||
|
```
|
||
|
|
||
|
Execute 'nautilus'
|
||
|
```shell
|
||
|
> exec nautilus
|
||
|
```
|
||
|
|