mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
Merge branch 'main' into qr
This commit is contained in:
commit
7cd9ce60ea
17 changed files with 133 additions and 46 deletions
|
@ -2,8 +2,13 @@
|
||||||
|
|
||||||
> Quickly jump among the directories you visit the most.
|
> Quickly jump among the directories you visit the most.
|
||||||
> Aliases like j or jc are provided for even less typing.
|
> Aliases like j or jc are provided for even less typing.
|
||||||
|
> See also: `bashmarks`.
|
||||||
> More information: <https://github.com/wting/autojump>.
|
> More information: <https://github.com/wting/autojump>.
|
||||||
|
|
||||||
|
- Add the autojump aliases to your shell:
|
||||||
|
|
||||||
|
`source /usr/share/autojump/autojump.{{bash|fish|zsh}}`
|
||||||
|
|
||||||
- Jump to a directory that contains the given pattern:
|
- Jump to a directory that contains the given pattern:
|
||||||
|
|
||||||
`j {{pattern}}`
|
`j {{pattern}}`
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
# bashmarks
|
# bashmarks
|
||||||
|
|
||||||
> Save and jump to commonly used directories using 1 character commands.
|
> Save and jump to commonly used directories using 1 character commands.
|
||||||
|
> See also: `autojump`.
|
||||||
> More information: <https://github.com/huyng/bashmarks>.
|
> More information: <https://github.com/huyng/bashmarks>.
|
||||||
|
|
||||||
- Add the bashmark aliases to your shell:
|
- Add the bashmark aliases to your shell:
|
||||||
|
|
32
pages/common/i3.md
Normal file
32
pages/common/i3.md
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
# i3
|
||||||
|
|
||||||
|
> A tiling window manager for X11.
|
||||||
|
> More information: <https://i3wm.org/docs/userguide.html>.
|
||||||
|
|
||||||
|
- Start `i3` (Note that a pre-existing window manager must not be open when this command is run):
|
||||||
|
|
||||||
|
`i3`
|
||||||
|
|
||||||
|
- Open a new terminal window:
|
||||||
|
|
||||||
|
`<Super Enter>`
|
||||||
|
|
||||||
|
- Move the focused window to a workspace:
|
||||||
|
|
||||||
|
`<Super Shift {{Number}}>`
|
||||||
|
|
||||||
|
- Switch to a workspace:
|
||||||
|
|
||||||
|
`<Super {{Number}}>`
|
||||||
|
|
||||||
|
- Split the next window horizontally:
|
||||||
|
|
||||||
|
`<Super h>`
|
||||||
|
|
||||||
|
- Split the next window vertically:
|
||||||
|
|
||||||
|
`<Super v>`
|
||||||
|
|
||||||
|
- Open an application launcher:
|
||||||
|
|
||||||
|
`<Super d>`
|
7
pages/common/impacket-mqtt_check.md
Normal file
7
pages/common/impacket-mqtt_check.md
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
# impacket-mqtt_check
|
||||||
|
|
||||||
|
> This command is an alias of `mqtt_check.py`.
|
||||||
|
|
||||||
|
- View documentation for the original command:
|
||||||
|
|
||||||
|
`tldr mqtt_check.py`
|
7
pages/common/j.md
Normal file
7
pages/common/j.md
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
# j
|
||||||
|
|
||||||
|
> This command is an alias of `autojump`.
|
||||||
|
|
||||||
|
- View documentation for the original command:
|
||||||
|
|
||||||
|
`tldr autojump`
|
20
pages/common/jc.json.md
Normal file
20
pages/common/jc.json.md
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
# jc
|
||||||
|
|
||||||
|
> Convert the output of multiple commands to JSON.
|
||||||
|
> More information: <https://github.com/kellyjonbrazil/jc>.
|
||||||
|
|
||||||
|
- Convert command output to JSON via pipe:
|
||||||
|
|
||||||
|
`{{ifconfig}} | jc {{--ifconfig}}`
|
||||||
|
|
||||||
|
- Convert command output to JSON via magic syntax:
|
||||||
|
|
||||||
|
`jc {{ifconfig}}`
|
||||||
|
|
||||||
|
- Output pretty JSON via pipe:
|
||||||
|
|
||||||
|
`{{ifconfig}} | jc {{--ifconfig}} {{[-p|--pretty]}}`
|
||||||
|
|
||||||
|
- Output pretty JSON via magic syntax:
|
||||||
|
|
||||||
|
`jc {{[-p|--pretty]}} {{ifconfig}}`
|
|
@ -1,20 +1,11 @@
|
||||||
# jc
|
# jc
|
||||||
|
|
||||||
> Convert the output of multiple commands to JSON.
|
> `jc` can refer to multiple commands with the same name.
|
||||||
> More information: <https://github.com/kellyjonbrazil/jc>.
|
|
||||||
|
|
||||||
- Convert command output to JSON via pipe:
|
- View documentation for the `JSON` serializer:
|
||||||
|
|
||||||
`{{ifconfig}} | jc {{--ifconfig}}`
|
`tldr jc.json`
|
||||||
|
|
||||||
- Convert command output to JSON via magic syntax:
|
- View documentation for the `autojump` alias:
|
||||||
|
|
||||||
`jc {{ifconfig}}`
|
`tldr autojump`
|
||||||
|
|
||||||
- Output pretty JSON via pipe:
|
|
||||||
|
|
||||||
`{{ifconfig}} | jc {{--ifconfig}} {{[-p|--pretty]}}`
|
|
||||||
|
|
||||||
- Output pretty JSON via magic syntax:
|
|
||||||
|
|
||||||
`jc {{[-p|--pretty]}} {{ifconfig}}`
|
|
||||||
|
|
7
pages/common/jco.md
Normal file
7
pages/common/jco.md
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
# jco
|
||||||
|
|
||||||
|
> This command is an alias of `autojump`.
|
||||||
|
|
||||||
|
- View documentation for the original command:
|
||||||
|
|
||||||
|
`tldr autojump`
|
7
pages/common/jo.md
Normal file
7
pages/common/jo.md
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
# jo
|
||||||
|
|
||||||
|
> This command is an alias of `autojump`.
|
||||||
|
|
||||||
|
- View documentation for the original command:
|
||||||
|
|
||||||
|
`tldr autojump`
|
29
pages/common/mqtt_check.py.md
Normal file
29
pages/common/mqtt_check.py.md
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
# mqtt_check.py
|
||||||
|
|
||||||
|
> Simple utility for testing and validating MQTT login credentials.
|
||||||
|
> Part of the Impacket suite.
|
||||||
|
> More information: <https://github.com/fortra/impacket>.
|
||||||
|
|
||||||
|
- Check MQTT login credentials for a target (MQTT broker's hostname):
|
||||||
|
|
||||||
|
`mqtt_check.py {{domain}}/{{username}}:{{password}}@{{targetName}}`
|
||||||
|
|
||||||
|
- Specify a custom client ID for authentication:
|
||||||
|
|
||||||
|
`mqtt_check.py -client-id {{client_id}} {{domain}}/{{username}}:{{password}}@{{targetName}}`
|
||||||
|
|
||||||
|
- Enable SSL for the connection:
|
||||||
|
|
||||||
|
`mqtt_check.py -ssl {{domain}}/{{username}}:{{password}}@{{targetName}}`
|
||||||
|
|
||||||
|
- Connect to a specific port (default is 1883):
|
||||||
|
|
||||||
|
`mqtt_check.py -port {{port}} {{domain}}/{{username}}:{{password}}@{{targetName}}`
|
||||||
|
|
||||||
|
- Enable debug output:
|
||||||
|
|
||||||
|
`mqtt_check.py -debug {{domain}}/{{username}}:{{password}}@{{targetName}}`
|
||||||
|
|
||||||
|
- Display help message:
|
||||||
|
|
||||||
|
`mqtt_check.py --help`
|
13
pages/common/sway.md
Normal file
13
pages/common/sway.md
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
# sway
|
||||||
|
|
||||||
|
> A tiling Wayland compositor.
|
||||||
|
> It uses the same config format as `i3`, with some Wayland-specific additions.
|
||||||
|
> More information: <https://github.com/swaywm/sway/wiki>.
|
||||||
|
|
||||||
|
- Start `sway`:
|
||||||
|
|
||||||
|
`sway`
|
||||||
|
|
||||||
|
- View documentation for `i3` (`sway` uses the same default keybindings):
|
||||||
|
|
||||||
|
`tldr i3`
|
|
@ -1,32 +0,0 @@
|
||||||
# i3
|
|
||||||
|
|
||||||
> A dynamic tiling window manager.
|
|
||||||
> More information: <https://i3wm.org/docs/userguide.html>.
|
|
||||||
|
|
||||||
- Start i3 (Note that a pre-existing window manager must not be open when this command is run):
|
|
||||||
|
|
||||||
`i3`
|
|
||||||
|
|
||||||
- Open a new terminal window:
|
|
||||||
|
|
||||||
`<Super Enter>`
|
|
||||||
|
|
||||||
- Create a new workspace:
|
|
||||||
|
|
||||||
`<Super Shift {{Number}}>`
|
|
||||||
|
|
||||||
- Switch to a workspace:
|
|
||||||
|
|
||||||
`<Super {{Number}}>`
|
|
||||||
|
|
||||||
- Open new window horizontally:
|
|
||||||
|
|
||||||
`<Super h>`
|
|
||||||
|
|
||||||
- Open new window vertically:
|
|
||||||
|
|
||||||
`<Super v>`
|
|
||||||
|
|
||||||
- Open application (type out application name after executing command):
|
|
||||||
|
|
||||||
`<Super d>`
|
|
Loading…
Add table
Reference in a new issue