diff --git a/pages/common/buku.md b/pages/common/buku.md index 22f2eed236..f56df09824 100644 --- a/pages/common/buku.md +++ b/pages/common/buku.md @@ -1,24 +1,24 @@ # buku > Command-line browser-independent bookmark manager. -> More information: . +> More information: . - 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}}` diff --git a/pages/common/cronic.md b/pages/common/cronic.md index 0cfdabbb33..64a17bbffb 100644 --- a/pages/common/cronic.md +++ b/pages/common/cronic.md @@ -1,7 +1,7 @@ # cronic > Bash script for wrapping cron jobs to prevent excess email sending. -> More information: . +> More information: . - Call a command and display its output if it returns a non-zero exit code: diff --git a/pages/common/csvtool.md b/pages/common/csvtool.md index bba9069c9a..05f02d9789 100644 --- a/pages/common/csvtool.md +++ b/pages/common/csvtool.md @@ -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}}` diff --git a/pages/common/dirsearch.md b/pages/common/dirsearch.md index 1911f6c90e..1d20d2fb24 100644 --- a/pages/common/dirsearch.md +++ b/pages/common/dirsearch.md @@ -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}}` diff --git a/pages/common/dokku.md b/pages/common/dokku.md index eac2bc44b0..caf23ed076 100644 --- a/pages/common/dokku.md +++ b/pages/common/dokku.md @@ -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: . +> More information: . - List running apps: diff --git a/pages/common/flow.md b/pages/common/flow.md index 3c4caf41f5..1ec8ce783b 100644 --- a/pages/common/flow.md +++ b/pages/common/flow.md @@ -1,7 +1,7 @@ # flow > A static type checker for JavaScript. -> More information: . +> More information: . - Run a flow check: diff --git a/pages/common/git-replace.md b/pages/common/git-replace.md index 34749127e6..ccb909c20a 100644 --- a/pages/common/git-replace.md +++ b/pages/common/git-replace.md @@ -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: diff --git a/pages/common/git-show-ref.md b/pages/common/git-show-ref.md index a50bda49f8..88c6877453 100644 --- a/pages/common/git-show-ref.md +++ b/pages/common/git-show-ref.md @@ -9,7 +9,7 @@ - Show only heads references: -`git show-ref --heads` +`git show-ref --branches` - Show only tags references: diff --git a/pages/common/jupyter.md b/pages/common/jupyter.md index 917af51064..cd0e2a0362 100644 --- a/pages/common/jupyter.md +++ b/pages/common/jupyter.md @@ -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: . +> More information: . - 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: diff --git a/pages/common/lt.md b/pages/common/lt.md index c25b607c78..bfafc4299b 100644 --- a/pages/common/lt.md +++ b/pages/common/lt.md @@ -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]}}` diff --git a/pages/common/makebuildserver.md b/pages/common/makebuildserver.md index 8b782656e4..024a12481e 100644 --- a/pages/common/makebuildserver.md +++ b/pages/common/makebuildserver.md @@ -9,4 +9,4 @@ - Force creating a fresh virtual machine: -`makebuildserver --clean` +`makebuildserver {{[-c|--clean]}}` diff --git a/pages/common/matlab.md b/pages/common/matlab.md index 16e3db647a..8be0a1bc60 100644 --- a/pages/common/matlab.md +++ b/pages/common/matlab.md @@ -1,7 +1,7 @@ # matlab > Numerical computation environment by MathWorks. -> More information: . +> More information: . - Run without splash screen during startup: diff --git a/pages/common/mdp.md b/pages/common/mdp.md index 08826f0cb3..71996449a9 100644 --- a/pages/common/mdp.md +++ b/pages/common/mdp.md @@ -1,7 +1,7 @@ # mdp > A command-line based tool to make presentations from Markdown files. -> More information: . +> More information: . - 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}}` diff --git a/pages/common/middleman.md b/pages/common/middleman.md index 19d7572a0a..9da735ee8b 100644 --- a/pages/common/middleman.md +++ b/pages/common/middleman.md @@ -1,7 +1,7 @@ # middleman > Static site generator written in Ruby. -> More information: . +> More information: . - Create a new Middleman project: diff --git a/pages/common/mmdc.md b/pages/common/mmdc.md index 2570629fb3..da9ef1de8f 100644 --- a/pages/common/mmdc.md +++ b/pages/common/mmdc.md @@ -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}}` diff --git a/pages/common/nasm.md b/pages/common/nasm.md index 479dfba23e..74ebc8dde0 100644 --- a/pages/common/nasm.md +++ b/pages/common/nasm.md @@ -1,7 +1,7 @@ # nasm > The Netwide Assembler, a portable 80x86 assembler. -> More information: . +> More information: . - Assemble `source.asm` into a binary file `source`, in the (default) raw binary format: diff --git a/pages/common/ocaml.md b/pages/common/ocaml.md index 871b7cfc71..ed7940cd61 100644 --- a/pages/common/ocaml.md +++ b/pages/common/ocaml.md @@ -2,7 +2,7 @@ > The OCaml repl (read-evaluate-print-loop). > Interprets Ocaml commands. -> More information: . +> More information: . - Read OCaml commands from the user and execute them: diff --git a/pages/common/ocamlc.md b/pages/common/ocamlc.md index 295fb488c7..892013c317 100644 --- a/pages/common/ocamlc.md +++ b/pages/common/ocamlc.md @@ -2,7 +2,7 @@ > The OCaml bytecode compiler. > Produces executables runnable by the OCaml interpreter. -> More information: . +> More information: . - Create a binary from a source file: diff --git a/pages/common/ocamlfind.md b/pages/common/ocamlfind.md index cfad68ac0e..1c4619e0f8 100644 --- a/pages/common/ocamlfind.md +++ b/pages/common/ocamlfind.md @@ -2,7 +2,7 @@ > The findlib package manager for OCaml. > Simplifies linking executables with external libraries. -> More information: . +> More information: . - Compile a source file to a native binary and link with packages: diff --git a/pages/common/ocamlopt.md b/pages/common/ocamlopt.md index 138bb74782..c99575a653 100644 --- a/pages/common/ocamlopt.md +++ b/pages/common/ocamlopt.md @@ -2,7 +2,7 @@ > The OCaml native code compiler. > Produces native executables, e.g. ELF on Linux. -> More information: . +> More information: . - Compile a source file: diff --git a/pages/common/pass-otp.md b/pages/common/pass-otp.md index 4baf4bd08d..f86bb50212 100644 --- a/pages/common/pass-otp.md +++ b/pages/common/pass-otp.md @@ -1,7 +1,7 @@ # pass otp > A pass extension for managing one-time-password (OTP) tokens. -> More information: . +> More information: . - 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}}` diff --git a/pages/common/qr.md b/pages/common/qr.md index 0ebc9aaec3..804729702c 100644 --- a/pages/common/qr.md +++ b/pages/common/qr.md @@ -1,7 +1,7 @@ # qr > Generate QR codes in the terminal with ANSI VT-100 escape codes. -> More information: . +> More information: . - Generate a QR code: diff --git a/pages/common/reflac.md b/pages/common/reflac.md index ed014d02ff..ac46d3cbd6 100644 --- a/pages/common/reflac.md +++ b/pages/common/reflac.md @@ -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: diff --git a/pages/common/sequelize.md b/pages/common/sequelize.md index 2777250807..5d5fd0db52 100644 --- a/pages/common/sequelize.md +++ b/pages/common/sequelize.md @@ -1,7 +1,7 @@ # sequelize > Promise-based Node.js ORM for Postgres, MySQL, MariaDB, SQLite and Microsoft SQL Server. -> More information: . +> More information: . - Create a model with 3 fields and a migration file: diff --git a/pages/common/sqlmap.md b/pages/common/sqlmap.md index 7f2ade855f..3edb575df2 100644 --- a/pages/common/sqlmap.md +++ b/pages/common/sqlmap.md @@ -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}}"` diff --git a/pages/common/terraform.md b/pages/common/terraform.md index 3cefa09d56..782f1fdcf0 100644 --- a/pages/common/terraform.md +++ b/pages/common/terraform.md @@ -1,7 +1,7 @@ # terraform > Create and deploy infrastructure as code to cloud providers. -> More information: . +> More information: . - Initialize a new or existing Terraform configuration: diff --git a/pages/common/thunderbird.md b/pages/common/thunderbird.md index b5ad280153..d4a91f294e 100644 --- a/pages/common/thunderbird.md +++ b/pages/common/thunderbird.md @@ -1,7 +1,7 @@ # thunderbird > Email client and RSS reader. -> More information: . +> More information: . - Open thunderbird: diff --git a/pages/common/tmpmail.md b/pages/common/tmpmail.md index c92352e300..3d0bb03a1b 100644 --- a/pages/common/tmpmail.md +++ b/pages/common/tmpmail.md @@ -1,11 +1,11 @@ # tmpmail > A temporary email right from your terminal written in POSIX sh. -> More information: . +> More information: . - 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}}` diff --git a/pages/common/xmlto.md b/pages/common/xmlto.md index 834e8573a8..751315ea73 100644 --- a/pages/common/xmlto.md +++ b/pages/common/xmlto.md @@ -1,15 +1,15 @@ # xmlto > Apply an XSL stylesheet to an XML document. -> More information: . +> More information: . - 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: