diff --git a/tldr/bc b/tldr/bc index 39f461f9..91fab357 100644 --- a/tldr/bc +++ b/tldr/bc @@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git > An arbitrary precision calculator language. > See also: `dc`. -> More information: . +> More information: . - Start an interactive session: diff --git a/tldr/dd b/tldr/dd index b0a7f089..16c569c3 100644 --- a/tldr/dd +++ b/tldr/dd @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # dd > Convert and copy a file. -> More information: . +> More information: . - Make a bootable USB drive from an isohybrid file (such as `archlinux-xxx.iso`): diff --git a/tldr/frp b/tldr/frp new file mode 100644 index 00000000..fe969556 --- /dev/null +++ b/tldr/frp @@ -0,0 +1,17 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# frp + +> Fast Reverse Proxy: quickly set up network tunnels to expose certain services to the Internet or other external networks. +> More information: . + +- View documentation for `frpc`, the `frp` client component: + +`tldr frpc` + +- View documentation for `frps`, the `frp` server component: + +`tldr frps` diff --git a/tldr/frpc b/tldr/frpc new file mode 100644 index 00000000..91d78fb3 --- /dev/null +++ b/tldr/frpc @@ -0,0 +1,34 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# frpc + +> Connect to a `frps` server to start proxying connections on the current host. +> Part of `frp`. +> More information: . + +- Start the service, using the default configuration file (assumed to be `frps.ini` in the current directory): + +`frpc` + +- Start the service, using the newer TOML configuration file (`frps.toml` instead of `frps.ini`) in the current directory: + +`frpc {{-c|--config}} ./frps.toml` + +- Start the service, using a specific configuration file: + +`frpc {{-c|--config}} {{path/to/file}}` + +- Check if the configuration file is valid: + +`frpc verify {{-c|--config}} {{path/to/file}}` + +- Print autocompletion setup script for Bash, Fish, PowerShell, or Zsh: + +`frpc completion {{bash|fish|powershell|zsh}}` + +- Display version: + +`frpc {{-v|--version}}` diff --git a/tldr/frps b/tldr/frps new file mode 100644 index 00000000..147809cf --- /dev/null +++ b/tldr/frps @@ -0,0 +1,34 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# frps + +> Quickly set up a reverse proxy service. +> Part of `frp`. +> More information: . + +- Start the service, using the default configuration file (assumed to be `frps.ini` in the current directory): + +`frps` + +- Start the service, using the newer TOML configuration file (`frps.toml` instead of `frps.ini`) in the current directory: + +`frps {{-c|--config}} ./frps.toml` + +- Start the service, using a specified config file: + +`frps {{-c|--config}} {{path/to/file}}` + +- Check if the configuration file is valid: + +`frps verify {{-c|--config}} {{path/to/file}}` + +- Print autocompletion setup script for Bash, Fish, PowerShell, or Zsh: + +`frps completion {{bash|fish|powershell|zsh}}` + +- Display version: + +`frps {{-v|--version}}` diff --git a/tldr/nc b/tldr/nc index 4b34e5f8..b1bce28a 100644 --- a/tldr/nc +++ b/tldr/nc @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # nc > Redirect I/O into a network stream through this versatile tool. -> More information: . +> More information: . - Start a listener on the specified TCP port and send a file into it: diff --git a/tldr/sed b/tldr/sed index ca6587c9..d497e6c5 100644 --- a/tldr/sed +++ b/tldr/sed @@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git > Edit text in a scriptable manner. > See also: `awk`, `ed`. -> More information: . +> More information: . - Replace all `apple` (basic regex) occurrences with `mango` (basic regex) in all input lines and print the result to `stdout`: diff --git a/tldr/tree b/tldr/tree index 7c30fb76..ac950b99 100644 --- a/tldr/tree +++ b/tldr/tree @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # tree > Show the contents of the current directory as a tree. -> More information: . +> More information: . - Print files and directories up to 'num' levels of depth (where 1 means the current directory): diff --git a/tldr/yacc b/tldr/yacc index 73621392..aee5c737 100644 --- a/tldr/yacc +++ b/tldr/yacc @@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git > Generate an LALR parser (in C) with a formal grammar specification file. > See also: `bison`. -> More information: . +> More information: . - Create a file `y.tab.c` containing the C parser code and compile the grammar file with all necessary constant declarations for values. (Constant declarations file `y.tab.h` is created only when the `-d` flag is used):