mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-07 23:46:02 +02:00
common*: refresh old pages part 3 (#16257)
Co-authored-by: Machiavelli <145562237+MachiavelliII@users.noreply.github.com>
This commit is contained in:
parent
dc73a80540
commit
8e09a08059
29 changed files with 69 additions and 69 deletions
|
@ -1,24 +1,24 @@
|
|||
# buku
|
||||
|
||||
> Command-line browser-independent bookmark manager.
|
||||
> More information: <https://github.com/jarun/Buku>.
|
||||
> More information: <https://github.com/jarun/Buku?tab=readme-ov-file#usage>.
|
||||
|
||||
- Display all bookmarks matching "keyword" and with "privacy" tag:
|
||||
|
||||
`buku {{keyword}} --stag {{privacy}}`
|
||||
`buku {{keyword}} {{[-t|--stag]}} {{privacy}}`
|
||||
|
||||
- Add bookmark with tags "search engine" and "privacy":
|
||||
|
||||
`buku --add {{https://example.com}} {{search engine}}, {{privacy}}`
|
||||
`buku {{[-a|--add]}} {{https://example.com}} {{search engine}}, {{privacy}}`
|
||||
|
||||
- Delete a bookmark:
|
||||
|
||||
`buku --delete {{bookmark_id}}`
|
||||
`buku {{[-d|--delete]}} {{bookmark_id}}`
|
||||
|
||||
- Open editor to edit a bookmark:
|
||||
|
||||
`buku --write {{bookmark_id}}`
|
||||
`buku {{[-w|--write]}} {{bookmark_id}}`
|
||||
|
||||
- Remove "search engine" tag from a bookmark:
|
||||
|
||||
`buku --update {{bookmark_id}} --tag {{-}} {{search engine}}`
|
||||
`buku {{[-u|--update]}} {{bookmark_id}} --tag - {{search engine}}`
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# cronic
|
||||
|
||||
> Bash script for wrapping cron jobs to prevent excess email sending.
|
||||
> More information: <https://habilis.net/cronic/>.
|
||||
> More information: <https://manned.org/cronic>.
|
||||
|
||||
- Call a command and display its output if it returns a non-zero exit code:
|
||||
|
||||
|
|
|
@ -5,20 +5,20 @@
|
|||
|
||||
- Extract the second column from a CSV file:
|
||||
|
||||
`csvtool --column {{2}} {{path/to/file.csv}}`
|
||||
`csvtool {{[-c|--column]}} {{2}} {{path/to/file.csv}}`
|
||||
|
||||
- Extract the second and fourth columns from a CSV file:
|
||||
|
||||
`csvtool --column {{2,4}} {{path/to/file.csv}}`
|
||||
`csvtool {{[-c|--column]}} {{2,4}} {{path/to/file.csv}}`
|
||||
|
||||
- Extract lines from a CSV file where the second column exactly matches 'Foo':
|
||||
|
||||
`csvtool --column {{2}} --search '{{^Foo$}}' {{path/to/file.csv}}`
|
||||
`csvtool {{[-c|--column]}} {{2}} {{[-s|--search]}} '{{^Foo$}}' {{path/to/file.csv}}`
|
||||
|
||||
- Extract lines from a CSV file where the second column starts with 'Bar':
|
||||
|
||||
`csvtool --column {{2}} --search '{{^Bar}}' {{path/to/file.csv}}`
|
||||
`csvtool {{[-c|--column]}} {{2}} {{[-s|--search]}} '{{^Bar}}' {{path/to/file.csv}}`
|
||||
|
||||
- Find lines in a CSV file where the second column ends with 'Baz' and then extract the third and sixth columns:
|
||||
|
||||
`csvtool --column {{2}} --search '{{Baz$}}' {{path/to/file.csv}} | csvtool --no-header --column {{3,6}}`
|
||||
`csvtool {{[-c|--column]}} {{2}} {{[-s|--search]}} '{{Baz$}}' {{path/to/file.csv}} | csvtool {{[-e|--no-header]}} {{[-c|--column]}} {{3,6}}`
|
||||
|
|
|
@ -5,24 +5,24 @@
|
|||
|
||||
- Scan a web server for common paths with common extensions:
|
||||
|
||||
`dirsearch --url {{url}} --extensions-list`
|
||||
`dirsearch {{[-u|--url]}} {{url}} --extensions-list`
|
||||
|
||||
- Scan a list of web servers for common paths with the `.php` extension:
|
||||
- Scan a list of web servers for common paths with given file extensions:
|
||||
|
||||
`dirsearch --url-list {{path/to/url-list.txt}} --extensions {{php}}`
|
||||
`dirsearch {{[-l|--url-list]}} {{path/to/url-list.txt}} {{[-e|--extensions]}} {{php,jsp,aspx,...}}`
|
||||
|
||||
- Scan a web server for user-defined paths with common extensions:
|
||||
|
||||
`dirsearch --url {{url}} --extensions-list --wordlist {{path/to/url-paths.txt}}`
|
||||
`dirsearch {{[-u|--url]}} {{url}} --extensions-list {{[-w|--wordlists]}} {{path/to/url-paths.txt,path/to/url-paths.txt,...}}`
|
||||
|
||||
- Scan a web server using a cookie:
|
||||
|
||||
`dirsearch --url {{url}} --extensions {{php}} --cookie {{cookie}}`
|
||||
`dirsearch {{[-u|--url]}} {{url}} {{[-e|--extensions]}} {{php}} --cookie {{cookie}}`
|
||||
|
||||
- Scan a web server using the `HEAD` HTTP method:
|
||||
|
||||
`dirsearch --url {{url}} --extensions {{php}} --http-method {{HEAD}}`
|
||||
`dirsearch {{[-u|--url]}} {{url}} {{[-e|--extensions]}} {{php}} {{[-m|--http-method]}} {{HEAD}}`
|
||||
|
||||
- Scan a web server, saving the results to a `.json` file:
|
||||
|
||||
`dirsearch --url {{url}} --extensions {{php}} --json-report {{path/to/report.json}}`
|
||||
`dirsearch {{[-u|--url]}} {{url}} {{[-e|--extensions]}} {{php}} --json-report {{path/to/report.json}}`
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
> Docker powered mini-Heroku (PaaS).
|
||||
> Easily deploy multiple apps to your server in different languages using a single `git-push` command.
|
||||
> More information: <https://github.com/dokku/dokku>.
|
||||
> More information: <https://dokku.com/docs/deployment/application-deployment/>.
|
||||
|
||||
- List running apps:
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# flow
|
||||
|
||||
> A static type checker for JavaScript.
|
||||
> More information: <https://flow.org>.
|
||||
> More information: <https://flow.org/en/docs/cli/>.
|
||||
|
||||
- Run a flow check:
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
- Delete existing replace refs for the given objects:
|
||||
|
||||
`git replace --delete {{object}}`
|
||||
`git replace {{[-d|--delete]}} {{object}}`
|
||||
|
||||
- Edit an object’s content interactively:
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
- Show only heads references:
|
||||
|
||||
`git show-ref --heads`
|
||||
`git show-ref --branches`
|
||||
|
||||
- Show only tags references:
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
> Web application to create and share documents that contain code, visualizations and notes.
|
||||
> Primarily used for data analysis, scientific computing and machine learning.
|
||||
> More information: <https://jupyter.org>.
|
||||
> More information: <https://docs.jupyter.org/en/latest/>.
|
||||
|
||||
- Start a Jupyter notebook server in the current directory:
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
|||
|
||||
- Start a server on a specific port:
|
||||
|
||||
`jupyter notebook --port={{port}}`
|
||||
`jupyter notebook --port {{port}}`
|
||||
|
||||
- List currently running notebook servers:
|
||||
|
||||
|
|
|
@ -5,20 +5,20 @@
|
|||
|
||||
- Start tunnel from a specific port:
|
||||
|
||||
`lt --port {{8000}}`
|
||||
`lt {{[-p|--port]}} {{8000}}`
|
||||
|
||||
- Specify the upstream server doing the forwarding:
|
||||
|
||||
`lt --port {{8000}} --host {{host}}`
|
||||
`lt {{[-p|--port]}} {{8000}} {{[-h|--host]}} {{host}}`
|
||||
|
||||
- Request a specific subdomain:
|
||||
|
||||
`lt --port {{8000}} --subdomain {{subdomain}}`
|
||||
`lt {{[-p|--port]}} {{8000}} {{[-s|--subdomain]}} {{subdomain}}`
|
||||
|
||||
- Print basic request info:
|
||||
|
||||
`lt --port {{8000}} --print-requests`
|
||||
`lt {{[-p|--port]}} {{8000}} --print-requests`
|
||||
|
||||
- Open the tunnel URL in the default web browser:
|
||||
|
||||
`lt --port {{8000}} --open`
|
||||
`lt {{[-p|--port]}} {{8000}} {{[-o|--open]}}`
|
||||
|
|
|
@ -9,4 +9,4 @@
|
|||
|
||||
- Force creating a fresh virtual machine:
|
||||
|
||||
`makebuildserver --clean`
|
||||
`makebuildserver {{[-c|--clean]}}`
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# matlab
|
||||
|
||||
> Numerical computation environment by MathWorks.
|
||||
> More information: <https://uk.mathworks.com/help/matlab/>.
|
||||
> More information: <https://se.mathworks.com/help/matlab/matlab_env/startup-options.html>.
|
||||
|
||||
- Run without splash screen during startup:
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# mdp
|
||||
|
||||
> A command-line based tool to make presentations from Markdown files.
|
||||
> More information: <https://github.com/visit1985/mdp>.
|
||||
> More information: <https://manned.org/mdp>.
|
||||
|
||||
- Launch a presentation in the terminal from a Markdown file:
|
||||
|
||||
|
@ -9,12 +9,12 @@
|
|||
|
||||
- Disable fading transitions:
|
||||
|
||||
`mdp --nofade {{presentation.md}}`
|
||||
`mdp {{[-f|--nofade]}} {{presentation.md}}`
|
||||
|
||||
- Invert font colors to use in terminals with light background:
|
||||
|
||||
`mdp --invert {{presentation.md}}`
|
||||
`mdp {{[-i|--invert]}} {{presentation.md}}`
|
||||
|
||||
- Disable transparency in transparent terminals:
|
||||
|
||||
`mdp --notrans {{presentation.md}}`
|
||||
`mdp {{[-t|--notrans]}} {{presentation.md}}`
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# middleman
|
||||
|
||||
> Static site generator written in Ruby.
|
||||
> More information: <https://middlemanapp.com/>.
|
||||
> More information: <https://middlemanapp.com/basics/install/>.
|
||||
|
||||
- Create a new Middleman project:
|
||||
|
||||
|
|
|
@ -6,12 +6,12 @@
|
|||
|
||||
- Convert a file to the specified format (automatically determined from the file extension):
|
||||
|
||||
`mmdc --input {{input.mmd}} --output {{output.svg}}`
|
||||
`mmdc {{[-i|--input]}} {{input.mmd}} {{[-o|--output]}} {{output.svg}}`
|
||||
|
||||
- Specify the theme of the chart:
|
||||
|
||||
`mmdc --input {{input.mmd}} --output {{output.svg}} --theme {{forest|dark|neutral|default}}`
|
||||
`mmdc {{[-i|--input]}} {{input.mmd}} {{[-o|--output]}} {{output.svg}} {{[-t|--theme]}} {{forest|dark|neutral|default}}`
|
||||
|
||||
- Specify the background color of the chart (e.g. `lime`, `"#D8064F"`, or `transparent`):
|
||||
|
||||
`mmdc --input {{input.mmd}} --output {{output.svg}} --backgroundColor {{color}}`
|
||||
`mmdc {{[-i|--input]}} {{input.mmd}} {{[-o|--output]}} {{output.svg}} {{[-b|--backgroundColor]}} {{color}}`
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# nasm
|
||||
|
||||
> The Netwide Assembler, a portable 80x86 assembler.
|
||||
> More information: <https://nasm.us>.
|
||||
> More information: <https://www.nasm.us/xdoc/2.16.03/html/nasmdoc2.html>.
|
||||
|
||||
- Assemble `source.asm` into a binary file `source`, in the (default) raw binary format:
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
> The OCaml repl (read-evaluate-print-loop).
|
||||
> Interprets Ocaml commands.
|
||||
> More information: <https://ocaml.org>.
|
||||
> More information: <https://manned.org/ocaml>.
|
||||
|
||||
- Read OCaml commands from the user and execute them:
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
> The OCaml bytecode compiler.
|
||||
> Produces executables runnable by the OCaml interpreter.
|
||||
> More information: <https://ocaml.org>.
|
||||
> More information: <https://manned.org/ocamlc>.
|
||||
|
||||
- Create a binary from a source file:
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
> The findlib package manager for OCaml.
|
||||
> Simplifies linking executables with external libraries.
|
||||
> More information: <https://projects.camlcity.org/projects/findlib.html>.
|
||||
> More information: <https://manned.org/ocamlfind>.
|
||||
|
||||
- Compile a source file to a native binary and link with packages:
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
> The OCaml native code compiler.
|
||||
> Produces native executables, e.g. ELF on Linux.
|
||||
> More information: <https://ocaml.org>.
|
||||
> More information: <https://manned.org/ocamlopt>.
|
||||
|
||||
- Compile a source file:
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# pass otp
|
||||
|
||||
> A pass extension for managing one-time-password (OTP) tokens.
|
||||
> More information: <https://github.com/tadfisher/pass-otp#readme>.
|
||||
> More information: <https://manned.org/pass-otp>.
|
||||
|
||||
- Prompt for an otpauth URI token and create a new pass file:
|
||||
|
||||
|
@ -17,12 +17,12 @@
|
|||
|
||||
- Copy and don't print a 2FA code using the OTP token in a pass file:
|
||||
|
||||
`pass otp --clip {{path/to/pass}}`
|
||||
`pass otp {{[-c|--clip]}} {{path/to/pass}}`
|
||||
|
||||
- Display a QR code using the OTP token stored in a pass file:
|
||||
|
||||
`pass otp uri --qrcode {{path/to/pass}}`
|
||||
`pass otp uri {{[-q|--qrcode]}} {{path/to/pass}}`
|
||||
|
||||
- Prompt for an OTP secret value specifying issuer and account (at least one must be specified) and append to existing pass file:
|
||||
|
||||
`pass otp append --secret --issuer {{issuer_name}} --account {{account_name}} {{path/to/pass}}`
|
||||
`pass otp append {{[-s|--secret]}} {{[-i|--issuer]}} {{issuer_name}} {{[-a|--account]}} {{account_name}} {{path/to/pass}}`
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# qr
|
||||
|
||||
> Generate QR codes in the terminal with ANSI VT-100 escape codes.
|
||||
> More information: <https://github.com/lincolnloop/python-qrcode/>.
|
||||
> More information: <https://manned.org/qr>.
|
||||
|
||||
- Generate a QR code:
|
||||
|
||||
|
|
|
@ -9,15 +9,15 @@
|
|||
|
||||
- Enable maximum compression (very slow):
|
||||
|
||||
`reflac --best {{path/to/directory}}`
|
||||
`reflac {{[-8|--best]}} {{path/to/directory}}`
|
||||
|
||||
- Display filenames as they are processed:
|
||||
|
||||
`reflac --verbose {{path/to/directory}}`
|
||||
`reflac {{[-v|--verbose]}} {{path/to/directory}}`
|
||||
|
||||
- Recurse into subdirectories:
|
||||
|
||||
`reflac --recursive {{path/to/directory}}`
|
||||
`reflac {{[-r|--recursive]}} {{path/to/directory}}`
|
||||
|
||||
- Preserve file modification times:
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# sequelize
|
||||
|
||||
> Promise-based Node.js ORM for Postgres, MySQL, MariaDB, SQLite and Microsoft SQL Server.
|
||||
> More information: <https://sequelize.org/>.
|
||||
> More information: <https://sequelize.org/docs/v7/cli/>.
|
||||
|
||||
- Create a model with 3 fields and a migration file:
|
||||
|
||||
|
|
|
@ -5,20 +5,20 @@
|
|||
|
||||
- Run sqlmap against a single target URL:
|
||||
|
||||
`python sqlmap.py {{[-u|--url]}} "{{http://www.target.com/vuln.php?id=1}}"`
|
||||
`python sqlmap.py {{[-u|--url]}} "{{http://www.example.com/vuln.php?id=1}}"`
|
||||
|
||||
- Send data in a POST request (`--data` implies POST request):
|
||||
|
||||
`python sqlmap.py {{[-u|--url]}} "{{http://www.target.com/vuln.php}}" --data="{{id=1}}"`
|
||||
`python sqlmap.py {{[-u|--url]}} "{{http://www.example.com/vuln.php}}" --data="{{id=1}}"`
|
||||
|
||||
- Change the parameter delimiter (& is the default):
|
||||
|
||||
`python sqlmap.py {{[-u|--url]}} "{{http://www.target.com/vuln.php}}" --data="{{query=foobar;id=1}}" --param-del="{{;}}"`
|
||||
`python sqlmap.py {{[-u|--url]}} "{{http://www.example.com/vuln.php}}" --data="{{query=foobar;id=1}}" --param-del="{{;}}"`
|
||||
|
||||
- Select a random `User-Agent` from `./txt/user-agents.txt` and use it:
|
||||
|
||||
`python sqlmap.py {{[-u|--url]}} "{{http://www.target.com/vuln.php}}" --random-agent`
|
||||
`python sqlmap.py {{[-u|--url]}} "{{http://www.example.com/vuln.php}}" --random-agent`
|
||||
|
||||
- Provide user credentials for HTTP protocol authentication:
|
||||
|
||||
`python sqlmap.py {{[-u|--url]}} "{{http://www.target.com/vuln.php}}" --auth-type {{Basic}} --auth-cred "{{testuser:testpass}}"`
|
||||
`python sqlmap.py {{[-u|--url]}} "{{http://www.example.com/vuln.php}}" --auth-type {{Basic}} --auth-cred "{{testuser:testpass}}"`
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# terraform
|
||||
|
||||
> Create and deploy infrastructure as code to cloud providers.
|
||||
> More information: <https://www.terraform.io/>.
|
||||
> More information: <https://developer.hashicorp.com/terraform/cli/commands>.
|
||||
|
||||
- Initialize a new or existing Terraform configuration:
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# thunderbird
|
||||
|
||||
> Email client and RSS reader.
|
||||
> More information: <https://thunderbird.net>.
|
||||
> More information: <https://manned.org/thunderbird>.
|
||||
|
||||
- Open thunderbird:
|
||||
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
# tmpmail
|
||||
|
||||
> A temporary email right from your terminal written in POSIX sh.
|
||||
> More information: <https://github.com/sdushantha/tmpmail>.
|
||||
> More information: <https://github.com/sdushantha/tmpmail#usage>.
|
||||
|
||||
- Create a temporary inbox:
|
||||
|
||||
`tmpmail --generate`
|
||||
`tmpmail {{[-g|--generate]}}`
|
||||
|
||||
- List messages and their numeric ID:
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
|||
|
||||
- Display the most recent received email:
|
||||
|
||||
`tmpmail --recent`
|
||||
`tmpmail {{[-r|--recent]}}`
|
||||
|
||||
- Open a specific message:
|
||||
|
||||
|
@ -21,8 +21,8 @@
|
|||
|
||||
- View email as raw text without HTML tags:
|
||||
|
||||
`tmpmail --text`
|
||||
`tmpmail {{[-t|--text]}}`
|
||||
|
||||
- Open email with a specific browser (default is w3m):
|
||||
|
||||
`tmpmail --browser {{browser}}`
|
||||
`tmpmail {{[-b|--browser]}} {{browser}}`
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
# xmlto
|
||||
|
||||
> Apply an XSL stylesheet to an XML document.
|
||||
> More information: <https://pagure.io/xmlto>.
|
||||
> More information: <https://manned.org/xmlto>.
|
||||
|
||||
- Convert a DocBook XML document to PDF format:
|
||||
|
||||
`xmlto {{pdf}} {{document.xml}}`
|
||||
`xmlto pdf {{document.xml}}`
|
||||
|
||||
- Convert a DocBook XML document to HTML format and store the resulting files in a separate directory:
|
||||
|
||||
`xmlto -o {{path/to/html_files}} {{html}} {{document.xml}}`
|
||||
`xmlto -o {{path/to/html_files}} html {{document.xml}}`
|
||||
|
||||
- Convert a DocBook XML document to a single HTML file:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue