mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
common*: refresh old pages part 1 (#16253)
This commit is contained in:
parent
1f63ed5e22
commit
34b9fb2ece
30 changed files with 56 additions and 52 deletions
|
@ -22,4 +22,4 @@
|
||||||
|
|
||||||
- Show the entries in the autojump database:
|
- Show the entries in the autojump database:
|
||||||
|
|
||||||
`j -s`
|
`j {{[-s|--stat]}}`
|
||||||
|
|
|
@ -3,6 +3,10 @@
|
||||||
> Save and jump to commonly used directories using 1 character commands.
|
> Save and jump to commonly used directories using 1 character commands.
|
||||||
> More information: <https://github.com/huyng/bashmarks>.
|
> More information: <https://github.com/huyng/bashmarks>.
|
||||||
|
|
||||||
|
- Add the bashmark aliases to your shell:
|
||||||
|
|
||||||
|
`source /usr/share/bashmarks/bashmarks.sh`
|
||||||
|
|
||||||
- List available bookmarks:
|
- List available bookmarks:
|
||||||
|
|
||||||
`l`
|
`l`
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# darkhttpd
|
# darkhttpd
|
||||||
|
|
||||||
> Darkhttpd web server.
|
> Darkhttpd web server.
|
||||||
> More information: <https://unix4lyfe.org/darkhttpd>.
|
> More information: <https://github.com/emikulic/darkhttpd#how-to-run-darkhttpd>.
|
||||||
|
|
||||||
- Start server serving the specified document root:
|
- Start server serving the specified document root:
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# deluge-console
|
# deluge-console
|
||||||
|
|
||||||
> An interactive interface for the Deluge BitTorrent client.
|
> An interactive interface for the Deluge BitTorrent client.
|
||||||
> More information: <https://deluge-torrent.org>.
|
> More information: <https://deluge-torrent.org/userguide/thinclient/>.
|
||||||
|
|
||||||
- Start the interactive console interface:
|
- Start the interactive console interface:
|
||||||
|
|
||||||
|
|
|
@ -5,8 +5,8 @@
|
||||||
|
|
||||||
- Flood the network with IP requests:
|
- Flood the network with IP requests:
|
||||||
|
|
||||||
`dhcpwn --interface {{network_interface}} flood --count {{number_of_requests}}`
|
`dhcpwn {{[-i|--interface]}} {{network_interface}} flood {{[-c|--count]}} {{number_of_requests}}`
|
||||||
|
|
||||||
- Sniff local DHCP traffic:
|
- Sniff local DHCP traffic:
|
||||||
|
|
||||||
`dhcpwn --interface {{network_interface}} sniff`
|
`dhcpwn {{[-i|--interface]}} {{network_interface}} sniff`
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# forever
|
# forever
|
||||||
|
|
||||||
> Server-side JavaScript application that makes sure Node.js applications run indefinitely (restarts after exit).
|
> Server-side JavaScript application that makes sure Node.js applications run indefinitely (restarts after exit).
|
||||||
> More information: <https://github.com/foreversd/forever>.
|
> More information: <https://github.com/foreversd/forever#usage>.
|
||||||
|
|
||||||
- Start running a file forever (as a daemon):
|
- Start running a file forever (as a daemon):
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# fossa
|
# fossa
|
||||||
|
|
||||||
> CLI for the Fossa service - Generate realtime license audits, vulnerability scans and reports about dependencies licenses.
|
> CLI for the Fossa service - Generate realtime license audits, vulnerability scans and reports about dependencies licenses.
|
||||||
> More information: <https://github.com/fossas/fossa-cli>.
|
> More information: <https://github.com/fossas/fossa-cli/blob/master/docs/README.md>.
|
||||||
|
|
||||||
- Initialize a `.fossa.yml` configuration file:
|
- Initialize a `.fossa.yml` configuration file:
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# hn
|
# hn
|
||||||
|
|
||||||
> Command-line interface for Hacker News.
|
> Command-line interface for Hacker News.
|
||||||
> More information: <https://github.com/rafaelrinaldi/hn-cli>.
|
> More information: <https://github.com/rafaelrinaldi/hn-cli#usage>.
|
||||||
|
|
||||||
- View stories on Hacker News:
|
- View stories on Hacker News:
|
||||||
|
|
||||||
|
@ -9,11 +9,11 @@
|
||||||
|
|
||||||
- View _number_ of stories on Hacker News:
|
- View _number_ of stories on Hacker News:
|
||||||
|
|
||||||
`hn --limit {{number}}`
|
`hn {{[-l|--limit]}} {{number}}`
|
||||||
|
|
||||||
- View stories on Hacker News, and keep the list open after selecting a link:
|
- View stories on Hacker News, and keep the list open after selecting a link:
|
||||||
|
|
||||||
`hn --keep-open`
|
`hn {{[-k|--keep-open]}}`
|
||||||
|
|
||||||
- View stories on Hacker News sorted by submission date:
|
- View stories on Hacker News sorted by submission date:
|
||||||
|
|
||||||
|
|
|
@ -1,20 +1,20 @@
|
||||||
# jpegoptim
|
# jpegoptim
|
||||||
|
|
||||||
> Optimise JPEG images.
|
> Optimise JPEG images.
|
||||||
> More information: <https://github.com/tjko/jpegoptim>.
|
> More information: <https://manned.org/jpegoptim>.
|
||||||
|
|
||||||
- Optimise a set of JPEG images, retaining all associated data:
|
- Optimise a set of JPEG images, retaining all associated data:
|
||||||
|
|
||||||
`jpegoptim {{image1.jpeg}} {{image2.jpeg}} {{imageN.jpeg}}`
|
`jpegoptim {{image1.jpeg image2.jpeg image3.jpeg ...}}`
|
||||||
|
|
||||||
- Optimise JPEG images, stripping all non-essential data:
|
- Optimise JPEG images, stripping all non-essential data:
|
||||||
|
|
||||||
`jpegoptim --strip-all {{image1.jpeg}} {{image2.jpeg}} {{imageN.jpeg}}`
|
`jpegoptim {{[-s|--strip-all]}} {{image1.jpeg image2.jpeg image3.jpeg ...}}`
|
||||||
|
|
||||||
- Force the output images to be progressive:
|
- Force the output images to be progressive:
|
||||||
|
|
||||||
`jpegoptim --all-progressive {{image1.jpeg}} {{image2.jpeg}} {{imageN.jpeg}}`
|
`jpegoptim --all-progressive {{image1.jpeg image2.jpeg image3.jpeg ...}}`
|
||||||
|
|
||||||
- Force the output images to have a fixed maximum filesize:
|
- Force the output images to have a fixed maximum filesize:
|
||||||
|
|
||||||
`jpegoptim --size={{250k}} {{image1.jpeg}} {{image2.jpeg}} {{imageN.jpeg}}`
|
`jpegoptim {{[-S|--size]}} {{250k}} {{image1.jpeg image2.jpeg image3.jpeg ...}}`
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# kahlan
|
# kahlan
|
||||||
|
|
||||||
> A unit and Behaviour Driven Development test framework for PHP.
|
> A unit and Behaviour Driven Development test framework for PHP.
|
||||||
> More information: <https://kahlan.github.io>.
|
> More information: <https://kahlan.github.io/docs/cli-options.html>.
|
||||||
|
|
||||||
- Run all specifications in the "spec" directory:
|
- Run all specifications in the "spec" directory:
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# keybase
|
# keybase
|
||||||
|
|
||||||
> Key directory that maps social media identities to encryption keys in a publicly auditable manner.
|
> Key directory that maps social media identities to encryption keys in a publicly auditable manner.
|
||||||
> More information: <https://keybase.io/docs/command_line>.
|
> More information: <https://book.keybase.io/docs/cli>.
|
||||||
|
|
||||||
- Follow another user:
|
- Follow another user:
|
||||||
|
|
||||||
|
@ -13,19 +13,19 @@
|
||||||
|
|
||||||
- Sign a file:
|
- Sign a file:
|
||||||
|
|
||||||
`keybase sign --infile {{input_file}} --outfile {{output_file}}`
|
`keybase sign {{[-i|--infile]}} {{input_file}} {{[-o|--outfile]}} {{output_file}}`
|
||||||
|
|
||||||
- Verify a signed file:
|
- Verify a signed file:
|
||||||
|
|
||||||
`keybase verify --infile {{input_file}} --outfile {{output_file}}`
|
`keybase verify {{[-i|--infile]}} {{input_file}} {{[-o|--outfile]}} {{output_file}}`
|
||||||
|
|
||||||
- Encrypt a file:
|
- Encrypt a file:
|
||||||
|
|
||||||
`keybase encrypt --infile {{input_file}} --outfile {{output_file}} {{receiver}}`
|
`keybase encrypt {{[-i|--infile]}} {{input_file}} {{[-o|--outfile]}} {{output_file}} {{receiver}}`
|
||||||
|
|
||||||
- Decrypt a file:
|
- Decrypt a file:
|
||||||
|
|
||||||
`keybase decrypt --infile {{input_file}} --outfile {{output_file}}`
|
`keybase decrypt {{[-i|--infile]}} {{input_file}} {{[-o|--outfile]}} {{output_file}}`
|
||||||
|
|
||||||
- Revoke current device, log out, and delete local data:
|
- Revoke current device, log out, and delete local data:
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# kubectx
|
# kubectx
|
||||||
|
|
||||||
> Utility to manage and switch between `kubectl` contexts.
|
> Utility to manage and switch between `kubectl` contexts.
|
||||||
> More information: <https://github.com/ahmetb/kubectx>.
|
> More information: <https://manned.org/kubectx>.
|
||||||
|
|
||||||
- List the contexts:
|
- List the contexts:
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# kubens
|
# kubens
|
||||||
|
|
||||||
> Utility to switch between Kubernetes namespaces.
|
> Utility to switch between Kubernetes namespaces.
|
||||||
> More information: <https://github.com/ahmetb/kubectx>.
|
> More information: <https://manned.org/kubens>.
|
||||||
|
|
||||||
- List the namespaces:
|
- List the namespaces:
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# lua
|
# lua
|
||||||
|
|
||||||
> A powerful, light-weight embeddable programming language.
|
> A powerful, light-weight embeddable programming language.
|
||||||
> More information: <https://www.lua.org>.
|
> More information: <https://www.lua.org/manual/5.4/lua.html>.
|
||||||
|
|
||||||
- Start an interactive Lua shell:
|
- Start an interactive Lua shell:
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# luac
|
# luac
|
||||||
|
|
||||||
> Lua bytecode compiler.
|
> Lua bytecode compiler.
|
||||||
> More information: <https://www.lua.org>.
|
> More information: <https://www.lua.org/manual/5.4/luac.html>.
|
||||||
|
|
||||||
- Compile a Lua source file to Lua bytecode:
|
- Compile a Lua source file to Lua bytecode:
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# ngrep
|
# ngrep
|
||||||
|
|
||||||
> Filter network traffic packets using regular expressions.
|
> Filter network traffic packets using regular expressions.
|
||||||
> More information: <https://github.com/jpr5/ngrep>.
|
> More information: <https://github.com/jpr5/ngrep/blob/master/EXAMPLES.md>.
|
||||||
|
|
||||||
- Capture traffic of all interfaces:
|
- Capture traffic of all interfaces:
|
||||||
|
|
||||||
|
|
|
@ -9,16 +9,16 @@
|
||||||
|
|
||||||
- List all streamable files contained in a torrent (given as a magnet link):
|
- List all streamable files contained in a torrent (given as a magnet link):
|
||||||
|
|
||||||
`peerflix "{{magnet:?xt=urn:btih:0123456789abcdef0123456789abcdef01234567}}" --list`
|
`peerflix "{{magnet:?xt=urn:btih:0123456789abcdef0123456789abcdef01234567}}" {{[-l|--list]}}`
|
||||||
|
|
||||||
- Stream the largest file in a torrent, given as a torrent URL, to VLC:
|
- Stream the largest file in a torrent, given as a torrent URL, to VLC:
|
||||||
|
|
||||||
`peerflix "{{http://example.net/music.torrent}}" --vlc`
|
`peerflix "{{http://example.net/music.torrent}}" {{[-v|--vlc]}}`
|
||||||
|
|
||||||
- Stream the largest file in a torrent to MPlayer, with subtitles:
|
- Stream the largest file in a torrent to MPlayer, with subtitles:
|
||||||
|
|
||||||
`peerflix "{{torrent_url|magnet_link}}" --mplayer --subtitles {{subtitle-file.srt}}`
|
`peerflix "{{torrent_url|magnet_link}}" {{[-m|--mplayer]}} {{[-t|--subtitles]}} {{subtitle-file.srt}}`
|
||||||
|
|
||||||
- Stream all files from a torrent to Airplay:
|
- Stream all files from a torrent to Airplay:
|
||||||
|
|
||||||
`peerflix "{{torrent_url|magnet_link}}" --all --airplay`
|
`peerflix "{{torrent_url|magnet_link}}" {{[-a|--all]}} {{[-s|--airplay]}}`
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# phive
|
# phive
|
||||||
|
|
||||||
> The Phar Installation and Verification Environment for secure PHP application deployment.
|
> The Phar Installation and Verification Environment for secure PHP application deployment.
|
||||||
> More information: <https://phar.io>.
|
> More information: <https://phar.io/#Usage>.
|
||||||
|
|
||||||
- Display a list of available aliased Phars:
|
- Display a list of available aliased Phars:
|
||||||
|
|
||||||
|
@ -13,11 +13,11 @@
|
||||||
|
|
||||||
- Install a specified Phar globally:
|
- Install a specified Phar globally:
|
||||||
|
|
||||||
`phive install {{alias|url}} --global`
|
`phive install {{alias|url}} {{[-g|--global]}}`
|
||||||
|
|
||||||
- Install a specified Phar to a target directory:
|
- Install a specified Phar to a target directory:
|
||||||
|
|
||||||
`phive install {{alias|url}} --target {{path/to/directory}}`
|
`phive install {{alias|url}} {{[-t|--target]}} {{path/to/directory}}`
|
||||||
|
|
||||||
- Update all Phar files to the latest version:
|
- Update all Phar files to the latest version:
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# phpstorm
|
# phpstorm
|
||||||
|
|
||||||
> A cross-platform IDE for PHP based on the JetBrains IntelliJ platform.
|
> A cross-platform IDE for PHP based on the JetBrains IntelliJ platform.
|
||||||
> More information: <https://jetbrains.com/phpstorm>.
|
> More information: <https://www.jetbrains.com/help/phpstorm/working-with-the-ide-features-from-command-line.html#arguments>.
|
||||||
|
|
||||||
- Open a specific directory:
|
- Open a specific directory:
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# picard
|
# picard
|
||||||
|
|
||||||
> Next generation MusicBrainz tagging application.
|
> Next generation MusicBrainz tagging application.
|
||||||
> More information: <https://picard.musicbrainz.org/>.
|
> More information: <https://picard-docs.musicbrainz.org/en/getting_started/starting.html>.
|
||||||
|
|
||||||
- Start Picard:
|
- Start Picard:
|
||||||
|
|
||||||
|
@ -13,4 +13,4 @@
|
||||||
|
|
||||||
- Display the version of Picard installed:
|
- Display the version of Picard installed:
|
||||||
|
|
||||||
`picard --long-version`
|
`picard {{[-V|--long-version]}}`
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# pickle
|
# pickle
|
||||||
|
|
||||||
> A PHP extension installer based on Composer.
|
> A PHP extension installer based on Composer.
|
||||||
> More information: <https://github.com/FriendsOfPHP/pickle>.
|
> More information: <https://github.com/FriendsOfPHP/pickle#usage>.
|
||||||
|
|
||||||
- Install a specific PHP extension:
|
- Install a specific PHP extension:
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# rdfind
|
# rdfind
|
||||||
|
|
||||||
> Find files with duplicate content and get rid of them.
|
> Find files with duplicate content and get rid of them.
|
||||||
> More information: <https://rdfind.pauldreik.se>.
|
> More information: <https://rdfind.pauldreik.se/rdfind.1.html>.
|
||||||
|
|
||||||
- Identify all duplicates in a given directory and output a summary:
|
- Identify all duplicates in a given directory and output a summary:
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# skicka
|
# skicka
|
||||||
|
|
||||||
> Manage your Google Drive.
|
> Manage your Google Drive.
|
||||||
> More information: <https://github.com/google/skicka>.
|
> More information: <https://github.com/google/skicka#usage>.
|
||||||
|
|
||||||
- Upload a file/folder to Google Drive:
|
- Upload a file/folder to Google Drive:
|
||||||
|
|
||||||
|
|
|
@ -1,20 +1,20 @@
|
||||||
# slackcat
|
# slackcat
|
||||||
|
|
||||||
> Utility for passing files and command output to Slack.
|
> Utility for passing files and command output to Slack.
|
||||||
> More information: <https://github.com/bcicen/slackcat>.
|
> More information: <https://github.com/bcicen/slackcat#usage>.
|
||||||
|
|
||||||
- Post a file to Slack:
|
- Post a file to Slack:
|
||||||
|
|
||||||
`slackcat --channel {{channel_name}} {{path/to/file}}`
|
`slackcat {{[-c|--channel]}} {{channel_name}} {{path/to/file}}`
|
||||||
|
|
||||||
- Post a file to Slack with a custom filename:
|
- Post a file to Slack with a custom filename:
|
||||||
|
|
||||||
`slackcat --channel {{channel_name}} --filename={{filename}} {{path/to/file}}`
|
`slackcat {{[-c|--channel]}} {{channel_name}} {{[-n|--filename]}} {{filename}} {{path/to/file}}`
|
||||||
|
|
||||||
- Pipe command output to Slack as a text snippet:
|
- Pipe command output to Slack as a text snippet:
|
||||||
|
|
||||||
`{{command}} | slackcat --channel {{channel_name}} --filename={{snippet_name}}`
|
`{{command}} | slackcat {{[-c|--channel]}} {{channel_name}} {{[-n|--filename]}} {{snippet_name}}`
|
||||||
|
|
||||||
- Stream command output to Slack continuously:
|
- Stream command output to Slack continuously:
|
||||||
|
|
||||||
`{{command}} | slackcat --channel {{channel_name}} --stream`
|
`{{command}} | slackcat {{[-c|--channel]}} {{channel_name}} {{[-s|--stream]}}`
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# spike
|
# spike
|
||||||
|
|
||||||
> A fully featured static website generator written in JavaScript.
|
> A fully featured static website generator written in JavaScript.
|
||||||
> More information: <https://spike.js.org>.
|
> More information: <https://spike.readme.io/docs/command-line-interface>.
|
||||||
|
|
||||||
- Create a new project using the default template:
|
- Create a new project using the default template:
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# sqlite3
|
# sqlite3
|
||||||
|
|
||||||
> The command-line interface to SQLite 3, which is a self-contained file-based embedded SQL engine.
|
> The command-line interface to SQLite 3, which is a self-contained file-based embedded SQL engine.
|
||||||
> More information: <https://sqlite.org>.
|
> More information: <https://sqlite.org/cli.html>.
|
||||||
|
|
||||||
- Start an interactive shell with a new database:
|
- Start an interactive shell with a new database:
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# st-flash
|
# st-flash
|
||||||
|
|
||||||
> Flash binary files to STM32 ARM Cortex microcontrollers.
|
> Flash binary files to STM32 ARM Cortex microcontrollers.
|
||||||
> More information: <https://github.com/texane/stlink>.
|
> More information: <https://manned.org/st-flash>.
|
||||||
|
|
||||||
- Read 4096 bytes from the device starting from 0x8000000:
|
- Read 4096 bytes from the device starting from 0x8000000:
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# velero
|
# velero
|
||||||
|
|
||||||
> Backup and migrate Kubernetes applications and their persistent volumes.
|
> Backup and migrate Kubernetes applications and their persistent volumes.
|
||||||
> More information: <https://github.com/heptio/velero>.
|
> More information: <https://velero.io/docs/main/>.
|
||||||
|
|
||||||
- Create a backup containing all resources:
|
- Create a backup containing all resources:
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# virtualenv
|
# virtualenv
|
||||||
|
|
||||||
> Create virtual isolated Python environments.
|
> Create virtual isolated Python environments.
|
||||||
> More information: <https://virtualenv.pypa.io/>.
|
> More information: <https://virtualenv.pypa.io/en/latest/cli_interface.html>.
|
||||||
|
|
||||||
- Create a new environment:
|
- Create a new environment:
|
||||||
|
|
||||||
|
@ -9,11 +9,11 @@
|
||||||
|
|
||||||
- Customize the prompt prefix:
|
- Customize the prompt prefix:
|
||||||
|
|
||||||
`virtualenv --prompt={{prompt_prefix}} {{path/to/venv}}`
|
`virtualenv --prompt {{prompt_prefix}} {{path/to/venv}}`
|
||||||
|
|
||||||
- Use a different version of Python with virtualenv:
|
- Use a different version of Python with virtualenv:
|
||||||
|
|
||||||
`virtualenv --python={{path/to/pythonbin}} {{path/to/venv}}`
|
`virtualenv {{[-p|--python]}} {{path/to/pythonbin}} {{path/to/venv}}`
|
||||||
|
|
||||||
- Start (select) the environment:
|
- Start (select) the environment:
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# yarn
|
# yarn
|
||||||
|
|
||||||
> JavaScript and Node.js package manager alternative.
|
> JavaScript and Node.js package manager alternative.
|
||||||
> More information: <https://yarnpkg.com>.
|
> More information: <https://yarnpkg.com/cli>.
|
||||||
|
|
||||||
- Install a module globally:
|
- Install a module globally:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue