mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
Update cheatsheets
This commit is contained in:
2
tldr/bc
2
tldr/bc
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> An arbitrary precision calculator language.
|
||||
> See also: `dc`.
|
||||
> More information: <https://manned.org/man/bc.1>.
|
||||
> More information: <https://manned.org/bc.1>.
|
||||
|
||||
- Start an interactive session:
|
||||
|
||||
|
||||
2
tldr/dd
2
tldr/dd
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# dd
|
||||
|
||||
> Convert and copy a file.
|
||||
> More information: <https://manned.org/man/dd.1p>.
|
||||
> More information: <https://manned.org/dd.1p>.
|
||||
|
||||
- Make a bootable USB drive from an isohybrid file (such as `archlinux-xxx.iso`):
|
||||
|
||||
|
||||
17
tldr/frp
Normal file
17
tldr/frp
Normal file
@@ -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: <https://github.com/fatedier/frp>.
|
||||
|
||||
- View documentation for `frpc`, the `frp` client component:
|
||||
|
||||
`tldr frpc`
|
||||
|
||||
- View documentation for `frps`, the `frp` server component:
|
||||
|
||||
`tldr frps`
|
||||
34
tldr/frpc
Normal file
34
tldr/frpc
Normal file
@@ -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: <https://github.com/fatedier/frp>.
|
||||
|
||||
- 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}}`
|
||||
34
tldr/frps
Normal file
34
tldr/frps
Normal file
@@ -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: <https://github.com/fatedier/frp>.
|
||||
|
||||
- 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}}`
|
||||
2
tldr/nc
2
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: <https://manned.org/man/nc.1>.
|
||||
> More information: <https://manned.org/nc.1>.
|
||||
|
||||
- Start a listener on the specified TCP port and send a file into it:
|
||||
|
||||
|
||||
2
tldr/sed
2
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: <https://manned.org/man/sed.1posix>.
|
||||
> More information: <https://manned.org/sed.1posix>.
|
||||
|
||||
- Replace all `apple` (basic regex) occurrences with `mango` (basic regex) in all input lines and print the result to `stdout`:
|
||||
|
||||
|
||||
@@ -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: <https://manned.org/man/tree>.
|
||||
> More information: <https://manned.org/tree>.
|
||||
|
||||
- Print files and directories up to 'num' levels of depth (where 1 means the current directory):
|
||||
|
||||
|
||||
@@ -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: <https://manned.org/man/yacc.1p>.
|
||||
> More information: <https://manned.org/yacc.1p>.
|
||||
|
||||
- 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):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user