mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 20:11:19 +08:00
ttyd: add page (#19461)
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
ac2d800136
commit
84db0f70a8
@@ -0,0 +1,28 @@
|
||||
# ttyd
|
||||
|
||||
> Share a terminal or any command over the web.
|
||||
> More information: <https://github.com/tsl0922/ttyd#command-line-options>.
|
||||
|
||||
- Start a read only web server sharing Bash shell on the default port (7681):
|
||||
|
||||
`ttyd bash`
|
||||
|
||||
- Start Bash on a specific port:
|
||||
|
||||
`ttyd {{[-p|--port]}} {{8080}} bash`
|
||||
|
||||
- Allow clients to write to the terminal:
|
||||
|
||||
`ttyd {{[-W|--writable]}} {{command}}`
|
||||
|
||||
- Set client options:
|
||||
|
||||
`ttyd {{[-t|--client-option]}} {{key=value}} {{command}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`ttyd {{[-h|--help]}}`
|
||||
|
||||
- Display version:
|
||||
|
||||
`ttyd {{[-v|--version]}}`
|
||||
Reference in New Issue
Block a user