mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 11:25:16 +08:00
*: more minor fixes to pages (#18767)
This commit is contained in:
@@ -7,14 +7,14 @@
|
||||
|
||||
`anki`
|
||||
|
||||
- Use a specific [p]rofile:
|
||||
- Use a specific profile:
|
||||
|
||||
`anki -p {{profile_name}}`
|
||||
`anki {{[-p|--profile]}} {{profile_name}}`
|
||||
|
||||
- Use a specific [l]anguage:
|
||||
- Use a specific language:
|
||||
|
||||
`anki -l {{language}}`
|
||||
`anki {{[-l|--lang]}} {{language}}`
|
||||
|
||||
- Use a non-default directory (`~/Anki` for default):
|
||||
|
||||
`anki -b {{path/to/directory}}`
|
||||
`anki {{[-b|--base]}} {{path/to/directory}}`
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
> Display the current weather conditions in your terminal.
|
||||
> More information: <https://github.com/fcambus/ansiweather>.
|
||||
|
||||
- Display a [f]orecast using metric [u]nits for the next seven days for a specific [l]ocation:
|
||||
- Display a [f]orecast for the next seven days using metric [u]nits for a specific [l]ocation:
|
||||
|
||||
`ansiweather -u metric -f 7 -l {{Rzeszow,PL}}`
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
`apropos {{regex}}`
|
||||
|
||||
- Search without restricting the output to the terminal width ([l]ong output):
|
||||
- Search without restricting the output to the terminal width (long output):
|
||||
|
||||
`apropos {{[-l|--long]}} {{regex}}`
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
`echo "{{password}}" | argon2 "{{salt_text}}" -{{d|i|id}}`
|
||||
|
||||
- Display the output hash without additional information:
|
||||
- Display the output [e]ncoded hash without additional information:
|
||||
|
||||
`echo "{{password}}" | argon2 "{{salt_text}}" -e`
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
`arping {{host_ip}}`
|
||||
|
||||
- Ping a host on a specific interface:
|
||||
- Ping a host on a specific [I]nterface:
|
||||
|
||||
`arping -I {{interface}} {{host_ip}}`
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
`beanstalkd`
|
||||
|
||||
- Listen on a specific [p]ort and address:
|
||||
- [l]isten on a specific [p]ort and address:
|
||||
|
||||
`beanstalkd -l {{ip_address}} -p {{port_number}}`
|
||||
|
||||
|
||||
@@ -28,6 +28,6 @@
|
||||
|
||||
`cancel -a {{printer}}`
|
||||
|
||||
- Cancel the current job of a specific server and then delete ([x]) job data files:
|
||||
- Cancel the current job of a specific [h]ost server and then delete ([x]) job data files:
|
||||
|
||||
`cancel -h {{server}} -x`
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
`certutil -N -d .`
|
||||
|
||||
- List all certificates in a database:
|
||||
- [L]ist all certificates in a database:
|
||||
|
||||
`certutil -L -d .`
|
||||
|
||||
|
||||
@@ -31,6 +31,6 @@
|
||||
|
||||
`chmod {{[-R|--recursive]}} g+w,o+w {{path/to/directory}}`
|
||||
|
||||
- Recursively give [a]ll users [r]ead permissions to files and e[X]ecute permissions to sub-directories within a directory:
|
||||
- Recursively give [a]ll users [r]ead permissions to files. Also give e[X]ecute permissions to files that have at least one execution permission and to all sub-directories:
|
||||
|
||||
`chmod {{[-R|--recursive]}} a+rX {{path/to/directory}}`
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@
|
||||
|
||||
`csh`
|
||||
|
||||
- Start an interactive shell session without loading startup configs:
|
||||
- Start an interactive shell session [f]aster without loading startup configs:
|
||||
|
||||
`csh -f`
|
||||
|
||||
|
||||
@@ -15,22 +15,22 @@
|
||||
|
||||
`cupsd -l`
|
||||
|
||||
- Start `cupsd` using the specified [`c`]`upsd.conf` configuration file:
|
||||
- Start `cupsd` using the specified `cupsd.conf` [c]onfiguration file:
|
||||
|
||||
`cupsd -c {{path/to/cupsd.conf}}`
|
||||
|
||||
- Start `cupsd` using the specified `cups-file`[`s`]`.conf` configuration file:
|
||||
- Start `cupsd` using the specified `cups-files.conf` configuration file:
|
||||
|
||||
`cupsd -s {{path/to/cups-files.conf}}`
|
||||
|
||||
- [t]est the [`c`]`upsd.conf` configuration file for errors:
|
||||
- [t]est the `cupsd.conf` [c]onfiguration file for errors:
|
||||
|
||||
`cupsd -t -c {{path/to/cupsd.conf}}`
|
||||
|
||||
- [t]est the `cups-file`[`s`]`.conf` configuration file for errors:
|
||||
- [t]est the `cups-files.conf` configuration file for errors:
|
||||
|
||||
`cupsd -t -s {{path/to/cups-files.conf}}`
|
||||
|
||||
- Display help:
|
||||
- Display [h]elp:
|
||||
|
||||
`cupsd -h`
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# gammastep
|
||||
|
||||
> Adjust the screen's color temperature according to the time of day.
|
||||
> More information: <https://gitlab.com/chinstrap/gammastep>.
|
||||
> More information: <https://manned.org/gammastep>.
|
||||
|
||||
- Turn on Gammastep with a specific [t]emperature during the day (e.g. 5700k) and at night (e.g. 3600k):
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
`gladtex {{path/to/input.htex}}`
|
||||
|
||||
- Save the converted file to a specific location:
|
||||
- Save the converted file to a specific [o]utput file:
|
||||
|
||||
`gladtex {{path/to/input.htex}} -o {{path/to/output.html}}`
|
||||
|
||||
@@ -30,4 +30,4 @@
|
||||
|
||||
- Convert Markdown to HTML using `pandoc` and `gladtex`:
|
||||
|
||||
`pandoc -s -t html --gladtex {{path/to/input.md}} | gladtex -o {{path/to/output.html}}`
|
||||
`pandoc {{[-s|--standalone]}} {{[-t|--to]}} html --gladtex {{path/to/input.md}} | gladtex -o {{path/to/output.html}}`
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
`gnatmake {{source_file1.adb source_file2.adb ...}}`
|
||||
|
||||
- Set a custom executable name:
|
||||
- Set a custom [o]utput executable name:
|
||||
|
||||
`gnatmake -o {{executable_name}} {{source_file.adb}}`
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
> Display information about a network interface.
|
||||
> More information: <https://manned.org/ifdata>.
|
||||
|
||||
- Display the whole configuration of the specified interface:
|
||||
- [p]rint the whole configuration of the specified interface:
|
||||
|
||||
`ifdata -p {{eth0}}`
|
||||
|
||||
@@ -11,11 +11,11 @@
|
||||
|
||||
`ifdata -e {{eth0}}`
|
||||
|
||||
- Display the IPv4 [a]dress and the [n]etmask of the specified interface:
|
||||
- [p]rint the IPv4 [a]dress and the [n]etmask of the specified interface:
|
||||
|
||||
`ifdata -pa -pn {{eth0}}`
|
||||
|
||||
- Display the [N]etwork adress, the [b]roadcast adress, and the MTU of the specified interface:
|
||||
- [p]rint the [N]etwork adress, the [b]roadcast adress, and the [m]TU of the specified interface:
|
||||
|
||||
`ifdata -pN -pb -pm {{eth0}}`
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
> Show information about the usage of XSI IPC facilities: shared memory segments, message queues, and semaphore arrays.
|
||||
> More information: <https://manned.org/ipcs.1p>.
|
||||
|
||||
- Show information about all the IPC:
|
||||
- Show information about [a]ll the IPC:
|
||||
|
||||
`ipcs -a`
|
||||
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
|
||||
- List issues from the current sprint, assigned to me:
|
||||
|
||||
`jira sprint list --current -a$(jira me)`
|
||||
`jira sprint list --current {{[-a|--assignee]}} $(jira me)`
|
||||
|
||||
- Create a new issue, optionally set a parent issue:
|
||||
|
||||
`jira issue create --parent {{parent}}`
|
||||
`jira issue create {{[-P|--parent]}} {{parent}}`
|
||||
|
||||
@@ -13,4 +13,4 @@
|
||||
|
||||
- Delete unused secrets in a specific namespace:
|
||||
|
||||
`k8s-unused-secret-detector {{[-n|--namespace]}} {{namespace}} | kubectl delete secret {{[-n|--namespace]}} {{namespace}}`
|
||||
`k8s-unused-secret-detector {{[-n|--namespace]}} {{namespace}} | kubectl delete secrets {{[-n|--namespace]}} {{namespace}}`
|
||||
|
||||
+1
-1
@@ -20,6 +20,6 @@
|
||||
|
||||
`ksh -n {{path/to/script.ksh}}`
|
||||
|
||||
- Execute a specific script, printing each command in the script before executing it:
|
||||
- E[x]ecute a specific script, printing each command in the script before executing it:
|
||||
|
||||
`ksh -x {{path/to/script.ksh}}`
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
> Client-side utility for encrypting Kubernetes secrets using the Bitnami Sealed Secrets controller.
|
||||
> Creates SealedSecret resources that can be safely stored in version control.
|
||||
> Requires a controller running in the cluster (e.g., installed via `kubectl apply -f controller.yaml`).
|
||||
> Requires a controller running in the cluster (e.g., installed via `kubectl apply --filename controller.yaml`).
|
||||
> More information: <https://github.com/bitnami-labs/sealed-secrets>.
|
||||
|
||||
- Encrypt a Kubernetes secret from a YAML file into a SealedSecret (default JSON output):
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# kustomize
|
||||
|
||||
> Easily deploy resources for Kubernetes.
|
||||
> More information: <https://github.com/kubernetes-sigs/kustomize>.
|
||||
> More information: <https://github.com/kubernetes-sigs/kustomize/blob/master/site/content/en/docs/Reference/CLI/_index.md>.
|
||||
|
||||
- Create a kustomization file with resources and namespace:
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
`nmap -v{{1|2|3}} {{ip_or_hostname}}`
|
||||
|
||||
- Run a ping sweep over an entire subnet or individual hosts very aggressively:
|
||||
- Run a ping sweep over an entire [s]ub[n]et or individual hosts very aggressively:
|
||||
|
||||
`nmap -T5 -sn {{192.168.0.0/24|ip_or_hostname1,ip_or_hostname2,...}}`
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
`sudo nmap -A -iL {{path/to/file.txt}}`
|
||||
|
||||
- Scan a specific list of ports (use `-p-` for all ports from 1 to 65535):
|
||||
- Scan a specific list of [p]orts (use `-p-` for all ports from 1 to 65535):
|
||||
|
||||
`nmap -p {{port1,port2,...}} {{ip_or_host1,ip_or_host2,...}}`
|
||||
|
||||
@@ -28,10 +28,10 @@
|
||||
|
||||
`nmap --script "default and safe" {{ip_or_host1,ip_or_host2,...}}`
|
||||
|
||||
- Scan for web servers running on standard ports 80 and 443 using all available `http-*` NSE scripts:
|
||||
- Scan for web servers running on standard [p]orts 80 and 443 using all available `http-*` NSE scripts:
|
||||
|
||||
`nmap --script "http-*" {{ip_or_host1,ip_or_host2,...}} -p 80,443`
|
||||
|
||||
- Attempt evading IDS/IPS detection by using an extremely slow scan (`-T0`), decoy source addresses (`-D`), [f]ragmented packets, random data and other methods:
|
||||
- Attempt evading IDS/IPS detection by using an extremely slow scan (`-T0`), [D]ecoy source addresses, [f]ragmented packets, random data and other methods:
|
||||
|
||||
`sudo nmap -T0 -D {{decoy_ip1,decoy_ip2,...}} --source-port {{53}} -f --data-length {{16}} -Pn {{ip_or_host}}`
|
||||
|
||||
+3
-3
@@ -7,15 +7,15 @@
|
||||
|
||||
`nnn`
|
||||
|
||||
- Start in detailed mode:
|
||||
- Start in [d]etailed mode:
|
||||
|
||||
`nnn -d`
|
||||
|
||||
- Show hidden files:
|
||||
- Show [H]idden files:
|
||||
|
||||
`nnn -H`
|
||||
|
||||
- Open an existing bookmark (defined in the `NNN_BMS` environment variable):
|
||||
- Open an existing [b]ookmark (defined in the `NNN_BMS` environment variable):
|
||||
|
||||
`nnn -b {{bookmark_name}}`
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
`perldoc -{{f|v|a}} {{name}}`
|
||||
|
||||
- Search in the question headings of Perl FAQ:
|
||||
- Search in the [q]uestion headings of Perl FAQ:
|
||||
|
||||
`perldoc -q {{regex}}`
|
||||
|
||||
|
||||
+3
-3
@@ -1,7 +1,7 @@
|
||||
# php
|
||||
|
||||
> PHP command-line interface.
|
||||
> More information: <https://php.net>.
|
||||
> More information: <https://www.php.net/manual/en/features.commandline.options.php>.
|
||||
|
||||
- Parse and execute a PHP script:
|
||||
|
||||
@@ -15,11 +15,11 @@
|
||||
|
||||
`php {{[-a|--interactive]}}`
|
||||
|
||||
- Run PHP code (Notes: Don't use <? ?> tags; escape double quotes with backslash):
|
||||
- Run PHP code (Notes: Don't use `<? ?>` tags; escape double quotes with backslash):
|
||||
|
||||
`php {{[-r|--run]}} "{{code}}"`
|
||||
|
||||
- Start a PHP built-in web [S]erver in the current directory:
|
||||
- Start a PHP built-in web server in the current directory:
|
||||
|
||||
`php {{[-S|--server]}} {{host}}:{{port}}`
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# pkg-config
|
||||
|
||||
> Provide the details of installed libraries for compiling applications.
|
||||
> More information: <https://www.freedesktop.org/wiki/Software/pkg-config/>.
|
||||
> More information: <https://manned.org/pkg-config>.
|
||||
|
||||
- Get the list of libraries and their dependencies:
|
||||
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@
|
||||
|
||||
`rga --rga-list-adapters`
|
||||
|
||||
- Change which adapters to use (e.g. ffmpeg, pandoc, poppler etc.):
|
||||
- Change which adapters to use (e.g. `ffmpeg`, `pandoc`, `poppler` etc.):
|
||||
|
||||
`rga --rga-adapters={{adapter1,adapter2}} {{regex}}`
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
`sfdk scrape --stable`
|
||||
|
||||
- Scrape while saving patches to a specified [o]utput directory:
|
||||
- Scrape while saving patches to a specified output directory:
|
||||
|
||||
`sfdk scrape {{[-o|--output-dir]}} {{directory}}`
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
`smbmap --host-file {{path/to/file}}`
|
||||
|
||||
- Display SMB shares and permissions on a host, prompting for user's password or NTLM hash:
|
||||
- Display SMB shares and permissions on a [H]ost, prompting for user's password or NTLM hash:
|
||||
|
||||
`smbmap {{[-u|--username]}} {{username}} --prompt -H {{ip}}`
|
||||
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@
|
||||
|
||||
`ssh {{username}}@{{remote_host}}`
|
||||
|
||||
- Connect to a remote server with a specific identity (private key):
|
||||
- Connect to a remote server with a specific [i]dentity (private key):
|
||||
|
||||
`ssh -i {{path/to/key_file}} {{username}}@{{remote_host}}`
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
> Discover valid subdomains for websites.
|
||||
> Designed as a passive framework to be useful for bug bounties and safe for penetration testing.
|
||||
> More information: <https://docs.projectdiscovery.io/tools/subfinder/running>.
|
||||
> More information: <https://docs.projectdiscovery.io/opensource/subfinder/usage>.
|
||||
|
||||
- Find subdomains for a specific domain:
|
||||
|
||||
|
||||
@@ -3,26 +3,26 @@
|
||||
> Interface to Slurm via REST API. It can be used in two modes: *Inetd Mode* & *Listen Mode*.
|
||||
> More information: <https://slurm.schedmd.com/slurmrestd.html>.
|
||||
|
||||
- Change the group ID (and drop supplemental groups) before processing client requests:
|
||||
- Change the [g]roup ID (and drop supplemental groups) before processing client requests:
|
||||
|
||||
`slurmrestd -g {{group_id}} {{[host]:port | unix:/path/to/socket}}`
|
||||
`slurmrestd -g {{group_id}} {{[host]:port|unix:/path/to/socket}}`
|
||||
|
||||
- Comma-delimited list of authentication plugins to load:
|
||||
- Comma-delimited list of [a]uthentication plugins to load:
|
||||
|
||||
`slurmrestd -a {{authentication_plugins}} {{[host]:port | unix:/path/to/socket}}`
|
||||
`slurmrestd -a {{authentication_plugins}} {{[host]:port|unix:/path/to/socket}}`
|
||||
|
||||
- Read Slurm configuration from the specified file:
|
||||
- Read Slurm configuration from the specified [f]ile:
|
||||
|
||||
`slurmrestd -f {{path/to/file}}`
|
||||
|
||||
- Change user ID before processing client request:
|
||||
- Change [u]ser ID before processing client request:
|
||||
|
||||
`slurmrestd -u {{user_id}}`
|
||||
|
||||
- Display help:
|
||||
- Display [h]elp:
|
||||
|
||||
`slurmrestd -h`
|
||||
|
||||
- Display version:
|
||||
- Display [V]ersion:
|
||||
|
||||
`slurmrestd -V`
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# slurp
|
||||
|
||||
> Select a region in a Wayland compositor.
|
||||
> More information: <https://github.com/emersion/slurp>.
|
||||
> More information: <https://github.com/emersion/slurp/blob/master/slurp.1.scd>.
|
||||
|
||||
- Select a region and print it to `stdout`:
|
||||
|
||||
@@ -25,4 +25,4 @@
|
||||
|
||||
- Select a specific region and take a borderless video of it, using `wf-recorder`:
|
||||
|
||||
`wf-recorder --geometry "$(slurp -w 0)"`
|
||||
`wf-recorder {{[-g|--geometry]}} "$(slurp -w 0)"`
|
||||
|
||||
Reference in New Issue
Block a user