Update cheatsheets

This commit is contained in:
ivuorinen
2025-03-10 00:15:53 +00:00
parent 9e2d0f72f1
commit dc654e9ad5
133 changed files with 423 additions and 367 deletions

View File

@@ -22,7 +22,7 @@ source: https://github.com/tldr-pages/tldr.git
- Detach from a session:
`<Ctrl> + \`
`<Ctrl \>`
- [A]ttach to a session in [r]ead-only mode:

View File

@@ -13,7 +13,7 @@ source: https://github.com/tldr-pages/tldr.git
`asciinema auth`
- Make a new recording (finish it with `Ctrl+D` or type `exit`, and then choose to upload it or save it locally):
- Make a new recording (finish it with `<Ctrl d>` or type `exit`, and then choose to upload it or save it locally):
`asciinema rec`

View File

@@ -13,7 +13,7 @@ source: https://github.com/tldr-pages/tldr.git
`systemctl start atd`
- Create commands interactively and execute them in 5 minutes (press `<Ctrl> + D` when done):
- Create commands interactively and execute them in 5 minutes (press `<Ctrl d>` when done):
`at now + 5 minutes`

View File

@@ -15,4 +15,4 @@ source: https://github.com/tldr-pages/tldr.git
- Terminate the connection:
`<Ctrl>-]`
`<Ctrl ]>`

View File

@@ -14,15 +14,15 @@ source: https://github.com/tldr-pages/tldr.git
- Navigate the piece horizontally:
`{{Left|Right arrow key}}`
`{{<ArrowLeft>|<ArrowRight>}}`
- Rotate the piece clockwise or counterclockwise:
`{{Spacebar|Up arrow key}}`
`{{<Space>|<ArrowUp>}}`
- Soft drop the piece:
`<Down arrow key>`
`<ArrowDown>`
- Hard drop the piece:
@@ -30,8 +30,8 @@ source: https://github.com/tldr-pages/tldr.git
- Pause the game:
`p`
`<p>`
- Quit the game:
`<Ctrl> + C`
`<Ctrl c>`

View File

@@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git
`systemctl start atd`
- Execute commands from `stdin` (press `Ctrl + D` when done):
- Execute commands from `stdin` (press `<Ctrl d>` when done):
`batch`

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# bg
> Resume suspended jobs (e.g. using `Ctrl + Z`), and keeps them running in the background.
> Resume suspended jobs (e.g. using `<Ctrl z>`), and keeps them running in the background.
> More information: <https://manned.org/bg>.
- Resume the most recently suspended job and run it in the background:

View File

@@ -14,16 +14,16 @@ source: https://github.com/tldr-pages/tldr.git
- Navigate the current piece on a 2D plane:
`{{Up|Down|Left|Right arrow key}}`
`{{<ArrowUp>|<ArrowDown>|<ArrowLeft>|<ArrowRight>}}`
- Rotate the piece on its axis:
`{{Q|W|E|A|S|D}}`
`{{<q>|<w>|<e>|<a>|<s>|<d>}}`
- Hard drop the current piece:
`<Spacebar>`
`<Space>`
- Pause/unpause the game:
`p`
`<p>`

View File

@@ -19,15 +19,15 @@ source: https://github.com/tldr-pages/tldr.git
- Toggle minimal mode:
`m`
`<m>`
- Search for running programs or processes:
`f`
`<f>`
- Change settings:
`M`
`<M>`
- Display version:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# cheatshh
> CLI cheatsheet with customized descriptions, tldr and groups, to look into for your reference.
> Press Enter to a command to copy it to your clipboard and exit.
> Press `<Enter>` to a command to copy it to your clipboard and exit.
> More information: <https://github.com/AnirudhG07/cheatshh>.
- [a]dd a new command to the cheatshheet:

View File

@@ -12,7 +12,7 @@ source: https://github.com/tldr-pages/tldr.git
`clear`
- Clear the screen but keep the terminal's scrollback buffer (equivalent to pressing Ctrl + L in Bash):
- Clear the screen but keep the terminal's scrollback buffer (equivalent to pressing `<Ctrl l>` in Bash):
`clear -x`

View File

@@ -19,24 +19,24 @@ source: https://github.com/tldr-pages/tldr.git
- Create a new file and a new directory:
`n file dir/`
`<n>file dir/`
- Search for PDF files in the current directory:
`/*.pdf`
`</>*.pdf`
- Select all PNG files in the current directory:
`s *.png`
`<s> *.png`
- Remove the previously selected files (use `t` to send the files to the recycle bin instead):
- Remove the previously selected files (use `<t>` to send the files to the recycle bin instead):
`r sel`
`<r>sel`
- Display help:
`?`
`<?>`
- Exit CliFM:
`q`
`<q>`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# colorpicker
> A minimalist X11 colorpicker.
> Any mouse gesture except left click will exit the program.
> Any mouse gesture except `<LeftClick>` will exit the program.
> More information: <https://github.com/ym1234/colorpicker>.
- Launch colorpicker and print the hexadecimal and RGB value of each clicked pixel to `stdout`:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# compgen
> A built-in command for auto-completion in Bash, which is called on pressing TAB key twice.
> A built-in command for auto-completion in Bash, which is called on pressing `<Tab>` key twice.
> More information: <https://www.gnu.org/software/bash/manual/bash.html#index-compgen>.
- List all commands that you could run:

View File

@@ -38,4 +38,4 @@ source: https://github.com/tldr-pages/tldr.git
- Display help in interactive mode:
`?`
`<?>`

View File

@@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git
- Quit elinks:
`<Ctrl> + C`
`<Ctrl c>`
- Dump output of webpage to console, colorizing the text with ANSI control codes:

View File

@@ -35,8 +35,8 @@ source: https://github.com/tldr-pages/tldr.git
- Save a file in Emacs:
`<Ctrl> + X, <Ctrl> + S`
`<Ctrl x><Ctrl s>`
- Quit Emacs:
`<Ctrl> + X, <Ctrl> + C`
`<Ctrl x><Ctrl c>`

View File

@@ -31,7 +31,7 @@ source: https://github.com/tldr-pages/tldr.git
- Insert text:
`i<Enter>{{text}}<C-c>`
`i<Enter>{{text}}<Ctrl c>`
- Switch to Vim:

View File

@@ -17,7 +17,7 @@ source: https://github.com/tldr-pages/tldr.git
`ps aux | fzf`
- Select multiple files with `Shift + Tab` and write to a file:
- Select multiple files with `<Shift Tab>` and write to a file:
`find {{path/to/directory}} -type f | fzf --multi > {{path/to/file}}`

View File

@@ -21,6 +21,6 @@ source: https://github.com/tldr-pages/tldr.git
`!{{command}} {{command_arguments}}`
- Exit the interactive Git shell (or press Ctrl + D):
- Exit the interactive Git shell (or press `<Ctrl d>`):
`exit`

View File

@@ -24,7 +24,7 @@ source: https://github.com/tldr-pages/tldr.git
`sudo gitlab-ctl restart {{nginx}}`
- Display the logs of every service and keep reading until `Ctrl + C` is pressed:
- Display the logs of every service and keep reading until `<Ctrl c>` is pressed:
`sudo gitlab-ctl tail`

View File

@@ -38,4 +38,4 @@ source: https://github.com/tldr-pages/tldr.git
- Display help in interactive mode:
`?`
`<?>`

View File

@@ -18,24 +18,24 @@ source: https://github.com/tldr-pages/tldr.git
- Quit `gpg-tui`:
`q`
`<q>`
- Interactively generate a new key:
`g`
`<g>`
- Export the selected key:
`x`
`<x>`
- Set the detail level for the selected key:
`1|2|3`
`<1>|<2>|<3>`
- Refresh `gpg-tui`:
`r`
`<r>`
- Display help in `gpg-tui`:
`?`
`<?>`

View File

@@ -14,8 +14,8 @@ source: https://github.com/tldr-pages/tldr.git
- Sort by CPU usage:
`c`
`<c>`
- Sort by memory usage:
`m`
`<m>`

View File

@@ -16,7 +16,7 @@ source: https://github.com/tldr-pages/tldr.git
`gum input --placeholder "{{value}}"`
- Open an interactive confirmation prompt and exit with either `0` or `1`:
- Open an interactive confirmation prompt and exit with either `<0>` or `<1>`:
`gum confirm "{{Continue?}}" --default=false --affirmative "{{Yes}}" --negative "{{No}}" {{&& echo "Yes selected" || echo "No selected"}}`
@@ -28,6 +28,6 @@ source: https://github.com/tldr-pages/tldr.git
`gum format -t {{emoji}} "{{:smile: :heart: hello}}"`
- Interactively prompt for multi-line text (CTRL + D to save) and write to `data.txt`:
- Interactively prompt for multi-line text (`<Ctrl d>` to save) and write to `data.txt`:
`gum write > {{data.txt}}`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# helix
> Helix, A post-modern text editor, provides several modes for different kinds of text manipulation.
> Pressing `i` enters insert mode. `<Esc>` enters normal mode, which enables the use of Helix commands.
> Pressing `<i>` enters insert mode. `<Esc>` enters normal mode, which enables the use of Helix commands.
> More information: <https://helix-editor.com>.
- Open a file:
@@ -17,26 +17,26 @@ source: https://github.com/tldr-pages/tldr.git
`helix --vsplit {{path/to/file1 path/to/file2}}`
- Show the tutorial to learn Helix (or access it within Helix by pressing `<Esc>` and typing `:tutor`):
- Show the tutorial to learn Helix (or access it within Helix by pressing `<Esc>` and typing `<:>tutor<Enter>`):
`helix --tutor`
- Change the Helix theme:
`:theme {{theme_name}}`
`<:>theme {{theme_name}}`
- Save and Quit:
`:wq<Enter>`
`<:>wq<Enter>`
- Force-quit without saving:
`:q!<Enter>`
`<:>q!<Enter>`
- Undo the last operation:
`u`
`<u>`
- Search for a pattern in the file (press `n`/`N` to go to next/previous match):
- Search for a pattern in the file (press `<n>`/`<N>` to go to next/previous match):
`/{{search_pattern}}<Enter>`
`</>{{search_pattern}}<Enter>`

View File

@@ -30,11 +30,11 @@ source: https://github.com/tldr-pages/tldr.git
- See interactive commands while running htop:
`?`
`<?>`
- Switch to a different tab:
`tab`
`<Tab>`
- Display help:

14
tldr/impacket-mssqlclient Normal file
View File

@@ -0,0 +1,14 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# impacket-mssqlclient
> This command is an alias of `mssqlclient.py`.
> Part of the Impacket suite.
> More information: <https://github.com/fortra/impacket>.
- View documentation for the original command:
`tldr mssqlclient.py`

View File

@@ -13,6 +13,6 @@ source: https://github.com/tldr-pages/tldr.git
`inkview {{path/to/file.svg}}`
- Preview multiple SVGs (use arrow keys to navigate):
- Preview multiple SVGs (use `<ArrowKeys>` to navigate):
`inkview {{path/to/file1.svg path/to/file2.svg ...}}`

View File

@@ -15,7 +15,7 @@ source: https://github.com/tldr-pages/tldr.git
- Enter insert mode from normal mode, to write text into the file:
`i`
`<i>`
- Escape insert mode, to go back to normal mode:
@@ -35,8 +35,8 @@ source: https://github.com/tldr-pages/tldr.git
- Insert the contents of a file:
`!cat {{path/to/file}}<Enter>`
`<!>cat {{path/to/file}}<Enter>`
- Save the current file:
`:w<Enter>`
`<:>w<Enter>`

View File

@@ -21,7 +21,7 @@ source: https://github.com/tldr-pages/tldr.git
`kill -{{1|HUP}} {{process_id}}`
- Terminate a program using the SIGINT (interrupt) signal. This is typically initiated by the user pressing `Ctrl + C`:
- Terminate a program using the SIGINT (interrupt) signal. This is typically initiated by the user pressing `<Ctrl c>`:
`kill -{{2|INT}} {{process_id}}`

View File

@@ -21,7 +21,7 @@ source: https://github.com/tldr-pages/tldr.git
`killall -i {{process_name}}`
- Terminate a process using the SIGINT (interrupt) signal, which is the same signal sent by pressing `Ctrl + C`:
- Terminate a process using the SIGINT (interrupt) signal, which is the same signal sent by pressing `<Ctrl c>`:
`killall -INT {{process_name}}`

View File

@@ -14,28 +14,28 @@ source: https://github.com/tldr-pages/tldr.git
- Page down/up:
`<Space> (down), b (up)`
`{{<Space>|<b>}}`
- Go to end/start of file:
`G (end), g (start)`
`{{<G>|<g>}}`
- Forward search for a string (press `n`/`N` to go to next/previous match):
- Forward search for a string (press `<n>`/`<N>` to go to next/previous match):
`/{{something}}`
`</>{{something}}`
- Backward search for a string (press `n`/`N` to go to next/previous match):
- Backward search for a string (press `<n>`/`<N>` to go to next/previous match):
`?{{something}}`
`<?>{{something}}`
- Follow the output of the currently opened file:
`F`
`<F>`
- Open the current file in an editor:
`v`
`<v>`
- Exit:
`q`
`<q>`

View File

@@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git
> Sound recorder for ALSA soundcard driver.
> More information: <https://manned.org/arecord>.
- Record a snippet in "CD" quality (finish with Ctrl-C when done):
- Record a snippet in "CD" quality (finish with `<Ctrl c>` when done):
`arecord -vv --format=cd {{path/to/file.wav}}`
@@ -16,7 +16,7 @@ source: https://github.com/tldr-pages/tldr.git
`arecord -vv --format=cd --duration={{10}} {{path/to/file.wav}}`
- Record a snippet and save it as an MP3 (finish with Ctrl-C when done):
- Record a snippet and save it as an MP3 (finish with `<Ctrl c>` when done):
`arecord -vv --format=cd --file-type raw | lame -r - {{path/to/file.mp3}}`
@@ -24,7 +24,7 @@ source: https://github.com/tldr-pages/tldr.git
`arecord --list-devices`
- Allow interactive interface (e.g. use space-bar or enter to play or pause):
- Allow interactive interface (e.g. use `<Space>` or `<Enter>` to play or pause):
`arecord --interactive`

View File

@@ -34,4 +34,4 @@ source: https://github.com/tldr-pages/tldr.git
- Display help about interactive commands:
`?`
`<?>`

View File

@@ -8,6 +8,6 @@ source: https://github.com/tldr-pages/tldr.git
> Prevent desktop from sleeping.
> More information: <https://manned.org/caffeinate>.
- Prevent desktop from sleeping (use `Ctrl + C` to exit):
- Prevent desktop from sleeping (use `<Ctrl c>` to exit):
`caffeinate`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# cmus
> Command-line Music Player.
> Use arrow keys to navigate, `<enter/return>` to select, and numbers 1-8 switch between different views.
> Use `<ArrowKeys>` to navigate, `<Enter>` to select, and numbers `<1>`-`<8>` switch between different views.
> See also: `ncmpcpp`, `clementine`, `qmmp`.
> More information: <https://cmus.github.io>.
@@ -16,16 +16,16 @@ source: https://github.com/tldr-pages/tldr.git
- Add file/directory to library:
`:add {{path/to/file_or_directory}}`
`<:>add {{path/to/file_or_directory}}`
- Pause/unpause current song:
`c`
`<c>`
- Toggle shuffle mode on/off:
`s`
`<s>`
- Quit cmus:
`q`
`<q>`

View File

@@ -26,4 +26,4 @@ source: https://github.com/tldr-pages/tldr.git
- Exit the `cu` session when in connection:
`~.`
`<Enter><~><.>`

View File

@@ -14,12 +14,12 @@ source: https://github.com/tldr-pages/tldr.git
- Navigate the piece horizontally:
`{{A|D|Left arrow key|Right arrow key}}`
`{{<a>|<d>|<ArrowLeft>|<ArrowRight>}}`
- Turn the piece:
`{{W|Up arrow key}}`
`{{<w>|<ArrowUp>}}`
- Hard drop the piece:
`{{S|Down arrow key}}`
`{{<s>|<ArrowDown>}}`

View File

@@ -16,6 +16,6 @@ source: https://github.com/tldr-pages/tldr.git
`expect -c "{{commands}}"`
- Enter an interactive REPL (use `exit` or Ctrl + D to exit):
- Enter an interactive REPL (use `exit` or `<Ctrl d>` to exit):
`expect -i`

View File

@@ -19,24 +19,24 @@ source: https://github.com/tldr-pages/tldr.git
- Once partitioning a disk, create a partition:
`n`
`<n>`
- Once partitioning a disk, select a partition to delete:
`d`
`<d>`
- Once partitioning a disk, view the partition table:
`p`
`<p>`
- Once partitioning a disk, write the changes made:
`w`
`<w>`
- Once partitioning a disk, discard the changes made:
`q`
`<q>`
- Once partitioning a disk, open a help menu:
`m`
`<m>`

View File

@@ -14,24 +14,24 @@ source: https://github.com/tldr-pages/tldr.git
- Quit:
`<Alt> + q OR <Ctrl> + c`
`{{<Alt q>|<Ctrl c>}}`
- Show actions menu:
`<Alt> + a`
`<Alt a>`
- Jump to n-th window:
`<Alt> + {{number_key}}`
`<Alt {{Number}}>`
- Close current window:
`<Alt> + c`
`<Alt c>`
- Start moving a window, use arrow keys to move, press escape when done:
- Start moving a window, use `<ArrowKeys>` to move, press `<Esc>` when done:
`<Alt> + m`
`<Alt m>`
- Start resizing a window, use arrow keys to resize, press escape when done:
- Start resizing a window, use `<ArrowKeys>` to resize, press `<Esc>` when done:
`<Alt> + r`
`<Alt r>`

View File

@@ -10,24 +10,24 @@ source: https://github.com/tldr-pages/tldr.git
- Toggle Guake visibility:
`F12`
`<F12>`
- Toggle fullscreen mode:
`F11`
`<F11>`
- Open a new tab:
`<Ctrl> + <Shift> + T`
`<Ctrl Shift t>`
- Close the terminal:
`<Super> + X`
`<Super x>`
- Go to the previous tab:
`<Ctrl> + <PageUp>`
`<Ctrl PageUp>`
- Search the selected text in the browser:
`<Shift> + <Ctrl> + L`
`<Ctrl Shift l>`

View File

@@ -14,24 +14,24 @@ source: https://github.com/tldr-pages/tldr.git
- Open a new terminal window:
`<Super> + <Return>`
`<Super Return>`
- Create a new workspace:
`<Super> + <Shift> + {{number}}`
`<Super Shift {{Number}}>`
- Switch to workspace number `n`:
- Switch to a workspace:
`<Super> + {{n}}`
`<Super {{Number}}>`
- Open new window horizontally:
`<Super> + h`
`<Super h>`
- Open new window vertically:
`<Super> + v`
`<Super v>`
- Open application (type out application name after executing command):
`<Super> + D`
`<Super d>`

View File

@@ -30,4 +30,4 @@ source: https://github.com/tldr-pages/tldr.git
- Display help:
`?`
`<?>`

View File

@@ -31,12 +31,12 @@ source: https://github.com/tldr-pages/tldr.git
- Make an interface up/down:
`ip {{[l|link]}} set {{interface}} {{up|down}}`
`sudo ip {{[l|link]}} {{[s|set]}} {{interface}} {{up|down}}`
- Add/Delete an IP address to an interface:
`ip {{[a|address]}} add/del {{ip}}/{{mask}} dev {{interface}}`
`sudo ip {{[a|address]}} {{add|delete}} {{ip}}/{{mask}} dev {{interface}}`
- Add a default route:
`ip {{[r|route]}} add default via {{ip}} dev {{interface}}`
`sudo ip {{[r|route]}} {{[a|add]}} default via {{ip}} dev {{interface}}`

View File

@@ -14,20 +14,20 @@ source: https://github.com/tldr-pages/tldr.git
- Filter to show only active network interfaces:
`ip {{[a|address]}} show up`
`ip {{[a|address]}} {{[s|show]}} up`
- Display information about a specific network interface:
`ip {{[a|address]}} show dev {{eth0}}`
`ip {{[a|address]}} {{[s|show]}} {{eth0}}`
- Add an IP address to a network interface:
`ip {{[a|address]}} add {{ip_address}} dev {{eth0}}`
`sudo ip {{[a|address]}} {{[a|add]}} {{ip_address}} dev {{eth0}}`
- Remove an IP address from a network interface:
`ip {{[a|address]}} delete {{ip_address}} dev {{eth0}}`
`sudo ip {{[a|address]}} {{[d|delete]}} {{ip_address}} dev {{eth0}}`
- Delete all IP addresses in a given scope from a network interface:
`ip {{[a|address]}} flush dev {{eth0}} scope {{global|host|link}}`
`sudo ip {{[a|address]}} {{[f|flush]}} {{eth0}} scope {{global|host|link}}`

View File

@@ -14,20 +14,20 @@ source: https://github.com/tldr-pages/tldr.git
- Show information about a specific network interface:
`ip {{[l|link]}} show {{ethN}}`
`ip {{[l|link]}} {{[sh|show]}} {{ethN}}`
- Bring a network interface up or down:
`ip {{[l|link]}} set {{ethN}} {{up|down}}`
`sudo ip {{[l|link]}} {{[s|set]}} {{ethN}} {{up|down}}`
- Give a meaningful name to a network interface:
`ip {{[l|link]}} set {{ethN}} alias "{{LAN Interface}}"`
`sudo ip {{[l|link]}} {{[s|set]}} {{ethN}} {{[al|alias]}} "{{LAN Interface}}"`
- Change the MAC address of a network interface:
`ip {{[l|link]}} set {{ethN}} address {{ff:ff:ff:ff:ff:ff}}`
`sudo ip {{[l|link]}} {{[s|set]}} {{ethN}} {{[a|address]}} {{ff:ff:ff:ff:ff:ff}}`
- Change the MTU size for a network interface to use jumbo frames:
`ip {{[l|link]}} set {{ethN}} mtu {{9000}}`
`sudo ip {{[l|link]}} {{[s|set]}} {{ethN}} mtu {{9000}}`

View File

@@ -14,12 +14,12 @@ source: https://github.com/tldr-pages/tldr.git
- List device specific addresses:
`ip {{[m|maddress]}} show dev {{eth0}}`
`ip {{[m|maddress]}} {{[s|show]}} dev {{eth0}}`
- Join a multicast group statically:
`sudo ip {{[m|maddress]}} add {{33:33:00:00:00:02}} dev {{eth0}}`
`sudo ip {{[m|maddress]}} {{[a|add]}} {{33:33:00:00:00:02}} dev {{eth0}}`
- Leave a static multicast group:
`sudo ip {{[m|maddress]}} delete {{33:33:00:00:00:02}} dev {{eth0}}`
`sudo ip {{[m|maddress]}} {{[d|delete]}} {{33:33:00:00:00:02}} dev {{eth0}}`

View File

@@ -14,11 +14,11 @@ source: https://github.com/tldr-pages/tldr.git
- Remove entries in the neighbour table on device `eth0`:
`sudo ip {{[n|neighbour]}} flush dev {{eth0}}`
`sudo ip {{[n|neighbour]}} {{[f|flush]}} dev {{eth0}}`
- Perform a neighbour lookup and return a neighbour entry:
`ip {{[n|neighbour]}} get {{lookup_ip}} dev {{eth0}}`
`ip {{[n|neighbour]}} {{[g|get]}} {{lookup_ip}} dev {{eth0}}`
- Add or delete an ARP entry for the neighbour IP address to `eth0`:

View File

@@ -10,23 +10,23 @@ source: https://github.com/tldr-pages/tldr.git
- Display the routing table:
`ip {{[r|route]}} {{show|list}}`
`ip {{[r|route]}}`
- Add a default route using gateway forwarding:
`sudo ip {{[r|route]}} add default via {{gateway_ip}}`
`sudo ip {{[r|route]}} {{[a|add]}} default via {{gateway_ip}}`
- Add a default route using `eth0`:
`sudo ip {{[r|route]}} add default dev {{eth0}}`
`sudo ip {{[r|route]}} {{[a|add]}} default dev {{eth0}}`
- Add a static route:
`sudo ip {{[r|route]}} add {{destination_ip}} via {{gateway_ip}} dev {{eth0}}`
`sudo ip {{[r|route]}} {{[a|add]}} {{destination_ip}} via {{gateway_ip}} dev {{eth0}}`
- Delete a static route:
`sudo ip {{[r|route]}} del {{destination_ip}} dev {{eth0}}`
`sudo ip {{[r|route]}} {{[d|delete]}} {{destination_ip}} dev {{eth0}}`
- Change or replace a static route:
@@ -34,4 +34,4 @@ source: https://github.com/tldr-pages/tldr.git
- Show which route will be used by the kernel to reach an IP address:
`ip {{[r|route]}} get {{destination_ip}}`
`ip {{[r|route]}} {{[g|get]}} {{destination_ip}}`

View File

@@ -10,24 +10,24 @@ source: https://github.com/tldr-pages/tldr.git
- Print route to a destination:
`ip {{[r|route]}} get {{1.1.1.1}}`
`ip {{[r|route]}} {{[g|get]}} {{1.1.1.1}}`
- Print route to a destination from a specific source address:
`ip {{[r|route]}} get {{destination}} from {{source}}`
`ip {{[r|route]}} {{[g|get]}} {{destination}} from {{source}}`
- Print route to a destination for packets arriving on a specific interface:
`ip {{[r|route]}} get {{destination}} iif {{eth0}}`
`ip {{[r|route]}} {{[g|get]}} {{destination}} iif {{eth0}}`
- Print route to a destination, forcing output through a specific interface:
`ip {{[r|route]}} get {{destination}} oif {{eth1}}`
`ip {{[r|route]}} {{[g|get]}} {{destination}} oif {{eth1}}`
- Print route to a destination with a specified Type of Service (ToS):
`ip {{[r|route]}} get {{destination}} tos {{0x10}}`
`ip {{[r|route]}} {{[g|get]}} {{destination}} tos {{0x10}}`
- Print route to a destination using a specific VRF (Virtual Routing and Forwarding) instance:
`ip {{[r|route]}} get {{destination}} vrf {{myvrf}}`
`ip {{[r|route]}} {{[g|get]}} {{destination}} vrf {{myvrf}}`

View File

@@ -10,32 +10,32 @@ source: https://github.com/tldr-pages/tldr.git
- Display the routing table:
`ip {{[r|route]}} show`
`ip {{[r|route]}} {{[s|show]}}`
- Display the main routing table (same as first example):
`ip {{[r|route]}} show {{main|254}}`
`ip {{[r|route]}} {{[s|show]}} {{main|254}}`
- Display the local routing table:
`ip {{[r|route]}} show table {{local|255}}`
`ip {{[r|route]}} {{[s|show]}} {{[t|table]}} {{local|255}}`
- Display all routing tables:
`ip {{[r|route]}} show table {{all|unspec|0}}`
`ip {{[r|route]}} {{[s|show]}} {{[t|table]}} {{all|unspec|0}}`
- List routes from a given device only:
`ip {{[r|route]}} show dev {{eth0}}`
`ip {{[r|route]}} {{[s|show]}} dev {{eth0}}`
- List routes within a given scope:
`ip {{[r|route]}} show scope link`
`ip {{[r|route]}} {{[s|show]}} {{[s|scope]}} link`
- Display the routing cache:
`ip {{[r|route]}} show cache`
`ip {{[r|route]}} {{[s|show]}} {{[c|cache]}}`
- Display only IPv6 or IPv4 routes:
`ip {{-6|-4}} {{[r|route]}} show`
`ip {{-6|-4}} {{[r|route]}} {{[s|show]}}`

View File

@@ -10,32 +10,32 @@ source: https://github.com/tldr-pages/tldr.git
- Display the routing policy:
`ip {{[ru|rule]}} {{show|list}}`
`ip {{[ru|rule]}}`
- Add a new rule based on packet source addresses:
`sudo ip {{[ru|rule]}} add from {{192.168.178.2/32}}`
`sudo ip {{[ru|rule]}} {{[a|add]}} from {{192.168.178.2/32}}`
- Add a new rule based on packet destination addresses:
`sudo ip {{[ru|rule]}} add to {{192.168.178.2/32}}`
`sudo ip {{[ru|rule]}} {{[a|add]}} to {{192.168.178.2/32}}`
- Delete a rule based on packet source addresses:
`sudo ip {{[ru|rule]}} delete from {{192.168.178.2/32}}`
`sudo ip {{[ru|rule]}} {{[d|delete]}} from {{192.168.178.2/32}}`
- Delete a rule based on packet destination addresses:
`sudo ip {{[ru|rule]}} delete to {{192.168.178.2/32}}`
`sudo ip {{[ru|rule]}} {{[d|delete]}} to {{192.168.178.2/32}}`
- Flush all deleted rules:
`ip {{[ru|rule]}} flush`
`sudo ip {{[ru|rule]}} {{[f|flush]}}`
- Save all rules to a file:
`ip {{[ru|rule]}} save > {{path/to/ip_rules.dat}}`
`ip {{[ru|rule]}} {{[s|save]}} > {{path/to/ip_rules.dat}}`
- Restore all rules from a file:
`ip {{[ru|rule]}} restore < {{path/to/ip_rules.dat}}`
`sudo ip {{[ru|rule]}} {{[r|restore]}} < {{path/to/ip_rules.dat}}`

View File

@@ -25,7 +25,7 @@ source: https://github.com/tldr-pages/tldr.git
`kill -{{1|HUP}} {{process_id}}`
- Terminate a program using the SIGINT (interrupt) signal. This is typically initiated by the user pressing `Ctrl + C`:
- Terminate a program using the SIGINT (interrupt) signal. This is typically initiated by the user pressing `<Ctrl c>`:
`kill -{{2|INT}} {{process_id}}`

View File

@@ -21,7 +21,7 @@ source: https://github.com/tldr-pages/tldr.git
`killall -i {{process_name}}`
- Terminate a process using the SIGINT (interrupt) signal, which is the same signal sent by pressing `Ctrl + C`:
- Terminate a process using the SIGINT (interrupt) signal, which is the same signal sent by pressing `<Ctrl c>`:
`killall -INT {{process_name}}`

View File

@@ -20,6 +20,6 @@ source: https://github.com/tldr-pages/tldr.git
`konsole --new-tab`
- Open the terminal in the background and bring to the front when `Ctrl+Shift+F12` is pressed:
- Open the terminal in the background and bring to the front when `<Ctrl Shift F12>` is pressed:
`konsole --background-mode`

View File

@@ -22,12 +22,12 @@ source: https://github.com/tldr-pages/tldr.git
- Navigate forwards and backwards through the links on a page:
`{{Up arrow key|Down arrow key}}`
`{{ArrowUp|ArrowDown}}`
- Go forwards and backwards one page:
`{{Left arrow key|Right arrow key}}`
`{{ArrowLeft|ArrowRight}}`
- Exit:
`q + y`
`<q><y>`

View File

@@ -21,14 +21,14 @@ source: https://github.com/tldr-pages/tldr.git
`<Space>`
- Search for a string (press `n` to go to the next match):
- Search for a string (press `<n>` to go to the next match):
`/{{something}}`
`</>{{something}}<Enter>`
- Exit:
`q`
`<q>`
- Display help about interactive commands:
`h`
`<h>`

View File

@@ -18,20 +18,20 @@ source: https://github.com/tldr-pages/tldr.git
- Jump forward to the next song:
`f`
`<f>`
- Jump back to the beginning for the song:
`b`
`<b>`
- Stop or replay the current file:
`s`
`<s>`
- Fast forward:
`.`
`<.>`
- Quit:
`q`
`<q>`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# nmtui
> Text user interface for controlling NetworkManager.
> Use arrow keys to navigate, enter to select an option.
> Use `<ArrowKeys>` to navigate, `<Enter>` to select an option.
> More information: <https://networkmanager.pages.freedesktop.org/NetworkManager/NetworkManager/nmtui.html>.
- Open the user interface:

View File

@@ -14,16 +14,16 @@ source: https://github.com/tldr-pages/tldr.git
- Navigate the snake:
`{{Up|Down|Left|Right arrow key}}`
`{{ArrowUp|ArrowDown|ArrowLeft|ArrowRight}}`
- Pause/unpause the game:
`p`
`<p>`
- Quit the game:
`q`
`<q>`
- Display help during the game:
`h`
`<h>`

View File

@@ -22,16 +22,16 @@ source: https://github.com/tldr-pages/tldr.git
- Quit nsxiv:
`q`
`<q>`
- Switch to thumbnail mode or open selected image in image mode:
`<Return>`
`<Enter>`
- Count images forward in image mode:
`n`
`<n>`
- Count images backward in image mode:
`p`
`<p>`

View File

@@ -17,7 +17,7 @@ source: https://github.com/tldr-pages/tldr.git
`quickemu --status-quo --vm {{path/to/file.conf}}`
- Start the virtual machine in full-screen mode (<Ctrl> + <Alt> + f to exit) and select the display backend (`sdl` by default):
- Start the virtual machine in full-screen mode (`<Ctrl Alt f>` to exit) and select the display backend (`sdl` by default):
`quickemu --fullscreen --display {{sdl|gtk|spice|spice-app|none}} --vm {{path/to/file.conf}}`

View File

@@ -17,7 +17,7 @@ source: https://github.com/tldr-pages/tldr.git
`rdesktop -u Administrator -p passwd123 192.168.1.111:3389`
- Connect to a remote computer with full screen (press `Ctrl + Alt + Enter` to exist):
- Connect to a remote computer with full screen (press `<Ctrl Alt Enter>` to exist):
`rdesktop -u {{username}} -p {{password}} -f {{host:port}}`

View File

@@ -28,6 +28,6 @@ source: https://github.com/tldr-pages/tldr.git
`sudo rtcwake -m disable`
- Perform a dry run to wakeup the computer at a given time. (Press Ctrl + C to abort):
- Perform a dry run to wakeup the computer at a given time. (Press `<Ctrl c>` to abort):
`sudo rtcwake -m on --date {{hh:ss}}`

View File

@@ -14,12 +14,12 @@ source: https://github.com/tldr-pages/tldr.git
- Start the download:
`<Ctrl>S`
`<Ctrl s>`
- View details about downloading torrent:
`->`
`<ArrowRight>`
- Close rtorrent safely:
`<Ctrl>Q`
`<Ctrl q>`

View File

@@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git
> Monitor performance of various Linux subsystems.
> More information: <https://manned.org/sar>.
- Report I/O and transfer rate issued to physical devices, one per second (press CTRL+C to quit):
- Report I/O and transfer rate issued to physical devices, one per second (press `<Ctrl c>` to quit):
`sar -b {{1}}`

View File

@@ -20,7 +20,7 @@ source: https://github.com/tldr-pages/tldr.git
`scrot --select`
- Capture a screenshot interactively without exiting on keyboard input, press `ESC` to exit:
- Capture a screenshot interactively without exiting on keyboard input, press `<Esc>` to exit:
`scrot --select --ignorekeyboard`

View File

@@ -26,4 +26,4 @@ source: https://github.com/tldr-pages/tldr.git
- Exit the program:
`Ctrl + d`
`<Ctrl d>`

View File

@@ -14,19 +14,19 @@ source: https://github.com/tldr-pages/tldr.git
- Choose level:
`{{1|2|3|4|5}}`
`{{<1>|<2>|<3>|<4>|<5>}}`
- Navigate the snake:
`{{Up|Down|Left|Right arrow key}}`
`{{<ArrowUp>|<ArrowDown>|<ArrowLeft>|<ArrowRight>}}`
- Pause game:
`<Spacebar>`
`<Space>`
- Quit game:
`q`
`<q>`
- Show the high scores:

View File

@@ -23,12 +23,12 @@ source: https://github.com/tldr-pages/tldr.git
- Slow down by 10% during the reading session:
`[`
`<[>`
- Speed up by 10% during the reading session:
`]`
`<]>`
- Pause, and show the last few lines as context:
`<space>`
`<Space>`

View File

@@ -22,8 +22,8 @@ source: https://github.com/tldr-pages/tldr.git
- Increase/decrease the font size:
`<Ctrl> + <Shift> + {{Page Up|Page Down}}`
`<Ctrl Shift {{PageUp|PageDown}}>`
- Copy/paste from the clipboard:
`<Ctrl> + <Shift> + {{C|V}}`
`<Ctrl Shift {{c|v}}>`

View File

@@ -22,8 +22,8 @@ source: https://github.com/tldr-pages/tldr.git
- Clear text on both terminal screens:
`<Ctrl>+D`
`<Ctrl d>`
- Exit the talk session:
`<Ctrl>+C`
`<Ctrl c>`

View File

@@ -18,12 +18,12 @@ source: https://github.com/tldr-pages/tldr.git
- Split terminals horizontally:
`<Ctrl> + <Shift> + O`
`<Ctrl Shift o>`
- Split terminals vertically:
`<Ctrl> + <Shift> + E`
`<Ctrl Shift e>`
- Open new tab:
`<Ctrl> + <Shift> + T`
`<Ctrl Shift t>`

View File

@@ -34,4 +34,4 @@ source: https://github.com/tldr-pages/tldr.git
- Display help about interactive commands:
`?`
`<?>`

View File

@@ -18,20 +18,20 @@ source: https://github.com/tldr-pages/tldr.git
- Move cursor left:
`h`
`<h>`
- Move cursor down:
`j`
`<j>`
- Move cursor up:
`k`
`<k>`
- Move cursor right:
`l`
`<l>`
- Emulate left click:
`m`
`<m>`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# wf-recorder
> Screencast for Wayland optionally with audio.
> By default you need to end the process with Ctrl-C.
> By default you need to end the process with `<Ctrl c>`.
> More information: <https://github.com/ammen99/wf-recorder>.
- Record storing to an MP4 file:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# xclip
> X11 clipboard manipulation tool, similar to `xsel`.
> Handles the X primary and secondary selections, plus the system clipboard (`Ctrl + C`/`Ctrl + V`).
> Handles the X primary and secondary selections, plus the system clipboard (`<Ctrl c>`/`<Ctrl v>`).
> See also: `wl-copy`.
> More information: <https://manned.org/xclip>.

View File

@@ -12,7 +12,7 @@ source: https://github.com/tldr-pages/tldr.git
`xdotool search --onlyvisible --name {{firefox}}`
- Click the right mouse button:
- Perform a mouse `<RightClick>`:
`xdotool click {{3}}`
@@ -28,6 +28,6 @@ source: https://github.com/tldr-pages/tldr.git
`xdotool type --delay {{500}} "Hello world"`
- Press the enter key:
- Press the `<Enter>` key:
`xdotool key {{KP_Enter}}`

View File

@@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git
> Utility for modifying keymaps and pointer button mappings in X.
> More information: <https://manned.org/xmodmap>.
- Swap left-click and right-click on the pointer:
- Swap `<LeftClick>` and `<RightCLick>` on the pointer:
`xmodmap -e 'pointer = 3 2 1'`

View File

@@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git
> X11 selection and clipboard manipulation tool.
> More information: <https://manned.org/xsel>.
- Use a command's output as input of the clip[b]oard (equivalent to `Ctrl + C`):
- Use a command's output as input of the clip[b]oard (equivalent to `<Ctrl c>`):
`echo 123 | xsel -ib`
@@ -16,7 +16,7 @@ source: https://github.com/tldr-pages/tldr.git
`cat {{path/to/file}} | xsel -ib`
- Output the clipboard's contents into the terminal (equivalent to `Ctrl + V`):
- Output the clipboard's contents into the terminal (equivalent to `<Ctrl v>`):
`xsel -ob`
@@ -28,6 +28,6 @@ source: https://github.com/tldr-pages/tldr.git
`xsel -cb`
- Output the X11 primary selection's contents into the terminal (equivalent to a mouse middle-click):
- Output the X11 primary selection's contents into the terminal (equivalent to a mouse `<MiddleClick>`):
`xsel -op`

View File

@@ -12,14 +12,14 @@ source: https://github.com/tldr-pages/tldr.git
`ydotoold`
- Perform a left click input:
- Perform a `<LeftClick>` input:
`ydotool click 0xC0`
- Perform a right click input:
- Perform a `<RightClick>` input:
`ydotool click 0xC1`
- Input Alt+F4:
- Input `<Alt F4>`:
`ydotool key 56:1 62:1 62:0 56:0`

View File

@@ -14,28 +14,28 @@ source: https://github.com/tldr-pages/tldr.git
- Navigate the piece horizontally:
`{{Left|Right arrow key}}`
`{{<ArrowLeft>|<ArrowRight>}}`
- Rotate the piece clockwise or counterclockwise:
`{{x|z}}`
`{{<x>|<z>}}`
- Hold a piece (only one allowed at a time):
`c`
`<c>`
- Soft drop the piece:
`<Down arrow key>`
`<ArrowDown>`
- Hard drop the piece:
`<Spacebar>`
`<Space>`
- Pause/unpause the game:
`p`
`<p>`
- Quit the game:
`q`
`<q>`

View File

@@ -15,24 +15,24 @@ source: https://github.com/tldr-pages/tldr.git
- Navigate left/up/down/right:
`{{H|J|K|L|arrow keys}}`
`{{<h>|<j>|<k>|<l>|<ArrowKeys>}}`
- Rotate:
`r`
`<r>`
- Invert Colors:
`<Ctrl> + R`
`<Ctrl r>`
- Search for text by a given string:
`/{{string}}`
`</>{{string}}`
- Create/delete bookmarks:
`:{{bmark|bdelete}} {{bookmark_name}}`
`<:>{{bmark|bdelete}} {{bookmark_name}}<Enter>`
- List bookmarks:
`:blist`
`<:>blist<Enter>`

View File

@@ -18,11 +18,11 @@ source: https://github.com/tldr-pages/tldr.git
- Save a file:
`<Ctrl> + X, <Ctrl> + S`
`<Ctrl x><Ctrl s>`
- Quit:
`<Ctrl> + X, <Ctrl> + C`
`<Ctrl x><Ctrl c>`
- Open a file at a specified line number:
@@ -30,4 +30,4 @@ source: https://github.com/tldr-pages/tldr.git
- Undo changes:
`<Ctrl> + X, U`
`<Ctrl x><u>`

View File

@@ -30,12 +30,12 @@ source: https://github.com/tldr-pages/tldr.git
- Navigate forwards and backwards through the links on a page:
`{{Up arrow key|Down arrow key}}`
`{{<ArrowUp>|<ArrowDown>}}`
- Go back to the previously displayed page:
`{{Left arrow key|u}}`
`{{<ArrowLeft>|<u>}}`
- Exit:
`q + y`
`<q><y>`

View File

@@ -13,7 +13,7 @@ source: https://github.com/tldr-pages/tldr.git
`mail`
- Send a typed email message with optional CC. The command-line below continues after pressing `<Enter>`. Input message text (can be multiline). Press `<Ctrl>-D` to complete the message text:
- Send a typed email message with optional CC. The command-line below continues after pressing `<Enter>`. Input message text (can be multiline). Press `<Ctrl d>` to complete the message text:
`mail --subject "{{subject line}}" {{to_user@example.com}} --cc "{{cc_email_address}}"`

View File

@@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git
> Send and receive mail.
> More information: <https://manned.org/mailx>.
- Send mail (the content should be typed after the command, and ended with `Ctrl+D`):
- Send mail (the content should be typed after the command, and ended with `<Ctrl d>`):
`mailx -s "{{subject}}" {{to_addr}}`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# mc
> Midnight Commander, a TUI file manager.
> Navigate the directory structure using the arrow keys, the mouse or by typing the commands into the terminal.
> Navigate the directory structure using the `<ArrowKeys>`, the mouse or by typing the commands into the terminal.
> See also: `ranger`, `clifm`, `vifm`, `nautilus`.
> More information: <https://midnight-commander.org>.

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# mcfly
> A smart command history search and management tool.
> Replaces your default shell history search (ctrl-r) with an intelligent search engine providing context and relevance to the commands.
> Replaces your default shell history search (`<Ctrl r>`) with an intelligent search engine providing context and relevance to the commands.
> More information: <https://github.com/cantino/mcfly>.
- Print the mcfly integration code for the specified shell:

View File

@@ -15,24 +15,24 @@ source: https://github.com/tldr-pages/tldr.git
- Save a file:
`<Ctrl> + S`
`<Ctrl s>`
- Cut the entire line:
`<Ctrl> + K`
`<Ctrl k>`
- Search for a pattern in the file (press `Ctrl + N`/`Ctrl + P` to go to next/previous match):
- Search for a pattern in the file (press `<Ctrl n>`/`<Ctrl p>` to go to next/previous match):
`<Ctrl> + F "{{pattern}}" <Enter>`
`<Ctrl f>{{pattern}}<Enter>`
- Execute a command:
`<Ctrl> + E {{command}} <Enter>`
`<Ctrl e>{{command}}<Enter>`
- Perform a substitution in the whole file:
`<Ctrl> + E replaceall "{{pattern}}" "{{replacement}}" <Enter>`
`<Ctrl e>replaceall "{{pattern}}" "{{replacement}}"<Enter>`
- Quit:
`<Ctrl> + Q`
`<Ctrl q>`

View File

@@ -26,4 +26,4 @@ source: https://github.com/tldr-pages/tldr.git
- Save and Quit:
`<Ctrl> + X`
`<Ctrl x>`

View File

@@ -21,14 +21,14 @@ source: https://github.com/tldr-pages/tldr.git
`<Space>`
- Search for a string (press `n` to go to the next match):
- Search for a string (press `<n>` to go to the next match):
`/{{something}}`
`</>{{something}}<Enter>`
- Exit:
`q`
`<q>`
- Display help about interactive commands:
`h`
`<h>`

View File

@@ -22,20 +22,20 @@ source: https://github.com/tldr-pages/tldr.git
- Move through opened files:
`:O n`
`<:><n>{{<ArrowUp>|<ArrowDown>}}`
- Jump to the 100th line:
`{{100}}j`
`<j>{{100}}<Enter>`
- Edit current file:
`e`
`<e>`
- Split the current window in half:
`<CTRL-x> o`
`<CTRL x><o>`
- Exit:
`Q`
`<q>`

View File

@@ -30,4 +30,4 @@ source: https://github.com/tldr-pages/tldr.git
- Seek backward or forward 10 seconds:
`{{Left|Right}}`
`{{<ArrowLeft>|<ArrowRight>}}`

View File

@@ -15,19 +15,19 @@ source: https://github.com/tldr-pages/tldr.git
- Jump backward/forward 5 seconds:
`LEFT <or> RIGHT`
`{{<ArrowLeft>|<ArrowRight>}}`
- Jump backward/forward 1 minute:
`DOWN <or> UP`
`{{<ArrowDown>|<ArrowUp>}}`
- Decrease or increase playback speed by 10%:
`[ <or> ]`
`{{<[>|<]>}}`
- Take a screenshot of the current frame (saved to `./mpv-shotNNNN.jpg` by default):
`s`
`<s>`
- Play a file at a specified speed (1 by default):

42
tldr/mssqlclient.py Normal file
View File

@@ -0,0 +1,42 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# mssqlclient.py
> Connect to Microsoft SQL Server instances and execute queries.
> Part of the Impacket suite.
> More information: <https://github.com/fortra/impacket>.
- Connect to an MSSQL server using Windows authentication:
`mssqlclient.py -windows-auth {{domain}}/{{username}}:{{password}}@{{target}}`
- Connect using SQL server authentication:
`mssqlclient.py {{username}}:{{password}}@{{target}}`
- Connect using pass-the-hash authentication:
`mssqlclient.py {{domain}}/{{username}}@{{target}} -hashes {{LM_Hash}}:{{NT_Hash}}`
- Connect using Kerberos authentication (requires valid tickets):
`mssqlclient.py -k {{domain}}/{{username}}@{{target}}`
- Execute a specific SQL command upon connection:
`mssqlclient.py {{username}}:{{password}}@{{target}} -query "{{SELECT user_name();}}"`
- Execute multiple SQL commands from a file:
`mssqlclient.py {{username}}:{{password}}@{{target}} -file {{path/to/sql_file.sql}}`
- Connect to a specific database instance (default is `None`):
`mssqlclient.py {{username}}:{{password}}@{{target}} -db {{database_name}}`
- Display SQL queries before execution:
`mssqlclient.py {{username}}:{{password}}@{{target}} -show`

View File

@@ -26,4 +26,4 @@ source: https://github.com/tldr-pages/tldr.git
- See keyboard shortcuts (the most relevant are visible in the status line):
`?`
`<?>`

View File

@@ -8,10 +8,10 @@ source: https://github.com/tldr-pages/tldr.git
> Visualize network usage in the terminal.
> More information: <https://github.com/rolandriegel/nload>.
- View all network traffic (use the arrow keys to switch interfaces):
- View all network traffic (use the `<ArrowKeys>` to switch interfaces):
`nload`
- View network traffic on specific interfaces (use the arrow keys to switch interfaces):
- View network traffic on specific interfaces (use the `<ArrowKeys>` to switch interfaces):
`nload devices {{interface_one}} {{interface_two}}`

Some files were not shown because too many files have changed in this diff Show More