-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
114 changed files
with
3,675 additions
and
1,988 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
m4_changequote() | ||
kathara-exec(1) -- Execute a command in a Kathara device | ||
============================================= | ||
|
||
## SYNOPSIS | ||
|
||
`kathara exec` | ||
> [`-h`] [`-d` <DIRECTORY> | `-v`] | ||
> [`--no-stdout`] [`--no-stderr`] | ||
> <DEVICE_NAME> <COMMAND> [<COMMAND> ...] | ||
## DESCRIPTION | ||
|
||
Execute a command in the Kathara device DEVICE_NAME. | ||
|
||
## OPTIONS | ||
|
||
* `-h`, `--help`: | ||
Show an help message and exit. | ||
|
||
* `-d` <DIRECTORY>, `--directory` <DIRECTORY>: | ||
Specify the folder containing the lab. | ||
|
||
Execute the specified command in a Kathara device belonging to a lab that is located inside DIRECTORY. | ||
If no `-d` option is provided, assume the lab is located in the current directory. | ||
This option cannot be used in conjuction with `-v` or `--vmachine`. | ||
|
||
* `-v`, `--vmachine`: | ||
The device has been started with vstart command. | ||
|
||
This option cannot be used in conjuction with `-d` or `--directory`. | ||
|
||
* `--no-stdout`: | ||
Disable stdout of the executed command. | ||
|
||
* `--no-stderr`: | ||
Disable stderr of the executed command. | ||
|
||
* `<DEVICE_NAME>: | ||
Name of the device to execute the command into. | ||
|
||
* `<COMMAND>: | ||
Shell command that will be executed inside the device. | ||
|
||
## EXAMPLES | ||
|
||
kathara exec -v pc1 -- ping 127.0.0.1 | ||
|
||
Execute the command ping into a device called `pc1`, started with `kathara-vstart`(1). | ||
|
||
kathara exec as1r1 "ping 127.0.0.1" | ||
|
||
Execute the command ping into a device called `as1r1` belonging to a lab located in current folder and started with `kathara-lstart`(1). | ||
|
||
m4_include(footer.txt) | ||
|
||
## SEE ALSO | ||
|
||
`kathara`(1), `kathara-vstart`(1), `kathara-lstart`(1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.