mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-07 20:57:20 +00:00
Update cheatsheets
This commit is contained in:
@@ -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`
|
||||
|
||||
|
||||
@@ -34,4 +34,4 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Display help about interactive commands:
|
||||
|
||||
`?`
|
||||
`<?>`
|
||||
|
||||
@@ -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`
|
||||
|
||||
@@ -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>`
|
||||
|
||||
@@ -26,4 +26,4 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Exit the `cu` session when in connection:
|
||||
|
||||
`~.`
|
||||
`<Enter><~><.>`
|
||||
|
||||
@@ -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>}}`
|
||||
|
||||
@@ -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`
|
||||
|
||||
@@ -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>`
|
||||
|
||||
@@ -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>`
|
||||
|
||||
@@ -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>`
|
||||
|
||||
@@ -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>`
|
||||
|
||||
@@ -30,4 +30,4 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Display help:
|
||||
|
||||
`?`
|
||||
`<?>`
|
||||
|
||||
@@ -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}}`
|
||||
|
||||
@@ -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}}`
|
||||
|
||||
@@ -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}}`
|
||||
|
||||
@@ -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}}`
|
||||
|
||||
@@ -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`:
|
||||
|
||||
|
||||
@@ -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}}`
|
||||
|
||||
@@ -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}}`
|
||||
|
||||
@@ -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]}}`
|
||||
|
||||
@@ -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}}`
|
||||
|
||||
@@ -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}}`
|
||||
|
||||
|
||||
@@ -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}}`
|
||||
|
||||
|
||||
@@ -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`
|
||||
|
||||
@@ -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>`
|
||||
|
||||
@@ -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>`
|
||||
|
||||
@@ -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>`
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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>`
|
||||
|
||||
@@ -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>`
|
||||
|
||||
@@ -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}}`
|
||||
|
||||
|
||||
@@ -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}}`
|
||||
|
||||
|
||||
@@ -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}}`
|
||||
|
||||
@@ -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>`
|
||||
|
||||
@@ -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}}`
|
||||
|
||||
|
||||
@@ -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`
|
||||
|
||||
|
||||
@@ -26,4 +26,4 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Exit the program:
|
||||
|
||||
`Ctrl + d`
|
||||
`<Ctrl d>`
|
||||
|
||||
@@ -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:
|
||||
|
||||
|
||||
@@ -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>`
|
||||
|
||||
@@ -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}}>`
|
||||
|
||||
@@ -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>`
|
||||
|
||||
@@ -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>`
|
||||
|
||||
@@ -34,4 +34,4 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Display help about interactive commands:
|
||||
|
||||
`?`
|
||||
`<?>`
|
||||
|
||||
@@ -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>`
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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>.
|
||||
|
||||
|
||||
@@ -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}}`
|
||||
|
||||
@@ -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'`
|
||||
|
||||
|
||||
@@ -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`
|
||||
|
||||
@@ -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`
|
||||
|
||||
@@ -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>`
|
||||
|
||||
@@ -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>`
|
||||
|
||||
@@ -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>`
|
||||
|
||||
Reference in New Issue
Block a user