mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-13 21:48:21 +00:00
Update cheatsheets
This commit is contained in:
@@ -11,7 +11,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Add a new abbreviation:
|
||||
|
||||
`abbr --add {{abbreviation_name}} {{command}} {{command_arguments}}`
|
||||
`abbr {{[-a|--add]}} {{abbreviation_name}} {{command}} {{command_arguments}}`
|
||||
|
||||
- Rename an existing abbreviation:
|
||||
|
||||
@@ -19,8 +19,8 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Erase an existing abbreviation:
|
||||
|
||||
`abbr --erase {{abbreviation_name}}`
|
||||
`abbr {{[-e|--erase]}} {{abbreviation_name}}`
|
||||
|
||||
- Import the abbreviations defined on another host over SSH:
|
||||
|
||||
`ssh {{host_name}} abbr --show | source`
|
||||
`ssh {{host_name}} abbr {{[-s|--show]}} | source`
|
||||
|
||||
@@ -10,12 +10,12 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Display the filename and line number of the source code from an instruction address of an executable:
|
||||
|
||||
`addr2line --exe={{path/to/executable}} {{address}}`
|
||||
`addr2line {{[-e|--exe]}} {{path/to/executable}} {{address}}`
|
||||
|
||||
- Display the function name, filename and line number:
|
||||
|
||||
`addr2line --exe={{path/to/executable}} --functions {{address}}`
|
||||
`addr2line {{[-e|--exe]}} {{path/to/executable}} {{[-f|--functions]}} {{address}}`
|
||||
|
||||
- Demangle the function name for C++ code:
|
||||
|
||||
`addr2line --exe={{path/to/executable}} --functions --demangle {{address}}`
|
||||
`addr2line {{[-e|--exe]}} {{path/to/executable}} {{[-f|--functions]}} {{[-C|--demangle]}} {{address}}`
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# ascii
|
||||
|
||||
> Show ASCII character aliases.
|
||||
> More information: <http://www.catb.org/~esr/ascii/>.
|
||||
> More information: <http://www.catb.org/~esr/ascii/ascii.html>.
|
||||
|
||||
- Show ASCII aliases of a character:
|
||||
|
||||
|
||||
@@ -18,16 +18,16 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Choose the output width (default is 100):
|
||||
|
||||
`asciiart --width {{50}} {{path/to/image.jpg}}`
|
||||
`asciiart {{[-w|--width]}} {{50}} {{path/to/image.jpg}}`
|
||||
|
||||
- Colorize the ASCII output:
|
||||
|
||||
`asciiart --color {{path/to/image.jpg}}`
|
||||
`asciiart {{[-c|--color]}} {{path/to/image.jpg}}`
|
||||
|
||||
- Choose the output format (default format is text):
|
||||
|
||||
`asciiart --format {{text|html}} {{path/to/image.jpg}}`
|
||||
`asciiart {{[-f|--format]}} {{text|html}} {{path/to/image.jpg}}`
|
||||
|
||||
- Invert the character map:
|
||||
|
||||
`asciiart --invert-chars {{path/to/image.jpg}}`
|
||||
`asciiart {{[-i|--invert-chars]}} {{path/to/image.jpg}}`
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# autopkgtest
|
||||
|
||||
> Run tests on Debian packages.
|
||||
> More information: <https://wiki.debian.org/ContinuousIntegration/autopkgtest>.
|
||||
> More information: <https://manpages.debian.org/bookworm/autopkgtest/autopkgtest.1.en.html>.
|
||||
|
||||
- Build the package in the current directory and run all tests directly on the system:
|
||||
|
||||
@@ -26,4 +26,4 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Test the package in the current directory without rebuilding it:
|
||||
|
||||
`autopkgtest --no-built-binaries -- {{null}}`
|
||||
`autopkgtest {{[-B|--no-built-binaries]}} -- {{null}}`
|
||||
|
||||
@@ -15,12 +15,12 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Lock the screen and disable the unlock indicator (removes feedback on keypress):
|
||||
|
||||
`blurlock --no-unlock-indicator`
|
||||
`blurlock {{[-u|--no-unlock-indicator]}}`
|
||||
|
||||
- Lock the screen and don't hide the mouse pointer:
|
||||
|
||||
`blurlock --pointer {{default}}`
|
||||
`blurlock {{[-p|--pointer]}} {{default}}`
|
||||
|
||||
- Lock the screen and show the number of failed login attempts:
|
||||
|
||||
`blurlock --show-failed-attempts`
|
||||
`blurlock {{[-f|--show-failed-attempts]}}`
|
||||
|
||||
@@ -6,11 +6,11 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# bpftrace
|
||||
|
||||
> High-level tracing language for Linux eBPF.
|
||||
> More information: <https://github.com/iovisor/bpftrace>.
|
||||
> More information: <https://github.com/bpftrace/bpftrace/blob/master/man/adoc/bpftrace.adoc>.
|
||||
|
||||
- Display bpftrace version:
|
||||
|
||||
`bpftrace -V`
|
||||
`bpftrace {{[-V|--version]}}`
|
||||
|
||||
- List all available probes:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# debsecan
|
||||
|
||||
> Debian Security Analyzer, a tool to list vulnerabilities on a particular Debian installation.
|
||||
> More information: <https://gitlab.com/fweimer/debsecan>.
|
||||
> More information: <https://manned.org/debsecan>.
|
||||
|
||||
- List vulnerable installed packages on the current host:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# eyeD3
|
||||
|
||||
> Read and manipulate metadata of MP3 files.
|
||||
> More information: <https://eyed3.readthedocs.io>.
|
||||
> More information: <https://manned.org/eyeD3>.
|
||||
|
||||
- View information about an MP3 file:
|
||||
|
||||
@@ -14,11 +14,11 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Set the title of an MP3 file:
|
||||
|
||||
`eyeD3 --title "{{A Title}}" {{filename.mp3}}`
|
||||
`eyeD3 {{[-t|--title]}} "{{A Title}}" {{filename.mp3}}`
|
||||
|
||||
- Set the album of all the MP3 files in a directory:
|
||||
|
||||
`eyeD3 --album "{{Album Name}}" {{*.mp3}}`
|
||||
`eyeD3 {{[-A|--album]}} "{{Album Name}}" {{*.mp3}}`
|
||||
|
||||
- Set the front cover art for an MP3 file:
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Preload a file into cache:
|
||||
|
||||
`fadvise {{[-a|--advice]}} willneed {{path/to/file}}`
|
||||
`fadvise {{[-a|--advice]}} willneeded {{path/to/file}}`
|
||||
|
||||
- Suggest dropping a file from cache:
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Build a Flatpak and export it to the specified repository:
|
||||
|
||||
`flatpak-builder --repo={{repository_name}} {{path/to/build_directory}} {{path/to/manifest}}`
|
||||
`flatpak-builder --repo {{repository_name}} {{path/to/build_directory}} {{path/to/manifest}}`
|
||||
|
||||
- Build a Flatpak and install it locally:
|
||||
|
||||
@@ -22,7 +22,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Build and sign a Flatpak and export it to the specified repository:
|
||||
|
||||
`flatpak-builder --gpg-sign={{key_id}} --repo={{repository_name}} {{path/to/manifest}}`
|
||||
`flatpak-builder --gpg-sign {{key_id}} --repo {{repository_name}} {{path/to/manifest}}`
|
||||
|
||||
- Run a shell inside of an application sandbox without installing it:
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Remove a specific fingerprints for a specific user:
|
||||
|
||||
`fprintd-delete {{username}} --finger {{left-thumb|left-index-finger|left-middle-finger|left-ring-finger|left-little-finger|right-thumb|right-index-finger|right-middle-finger|right-ring-finger|right-little-finger}}`
|
||||
`fprintd-delete {{username}} {{[-f|--finger]}} {{left-thumb|left-index-finger|left-middle-finger|left-ring-finger|left-little-finger|right-thumb|...}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Enroll a specific finger for the current user:
|
||||
|
||||
`fprintd-enroll --finger {{left-thumb|left-index-finger|left-middle-finger|left-ring-finger|left-little-finger|right-thumb|right-index-finger|right-middle-finger|right-ring-finger|right-little-finger}}`
|
||||
`fprintd-enroll {{[-f|--finger]}} {{left-thumb|left-index-finger|left-middle-finger|left-ring-finger|left-little-finger|right-thumb|...}}`
|
||||
|
||||
- Enroll the right index finger for a specific user:
|
||||
|
||||
@@ -22,7 +22,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Enroll a specific finger for a specific user:
|
||||
|
||||
`fprintd-enroll --finger {{finger_name}} {{username}}`
|
||||
`fprintd-enroll {{[-f|--finger]}} {{finger_name}} {{username}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Verify a specific fingerprint for the current user:
|
||||
|
||||
`fprintd-verify --finger {{left-thumb|left-index-finger|left-middle-finger|left-ring-finger|left-little-finger|right-thumb|right-index-finger|right-middle-finger|right-ring-finger|right-little-finger}}`
|
||||
`fprintd-verify {{[-f|--finger]}} {{left-thumb|left-index-finger|left-middle-finger|left-ring-finger|left-little-finger|right-thumb|...}}`
|
||||
|
||||
- Verify fingerprints for a specific user:
|
||||
|
||||
@@ -22,7 +22,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Verify a specific fingerprint for a specific user:
|
||||
|
||||
`fprintd-verify --finger {{finger_name}} {{username}}`
|
||||
`fprintd-verify {{[-f|--finger]}} {{finger_name}} {{username}}`
|
||||
|
||||
- Fail the process if a fingerprint doesn't match with ones stored in the database for the current user:
|
||||
|
||||
|
||||
@@ -22,4 +22,4 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Set the title of the new tab:
|
||||
|
||||
`gnome-terminal --tab --title "{{title}}"`
|
||||
`gnome-terminal --tab {{[-t|--title]}} "{{title}}"`
|
||||
|
||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# gs
|
||||
|
||||
> GhostScript is a PDF and PostScript interpreter.
|
||||
> GhostScript, a PDF and PostScript interpreter.
|
||||
> More information: <https://manned.org/gs>.
|
||||
|
||||
- To view a file:
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# i3exit
|
||||
|
||||
> Exit the i3 window manager.
|
||||
> More information: <https://gitlab.manjaro.org/packages/community/i3/i3exit>.
|
||||
> More information: <https://gitlab.manjaro.org/packages/extra/i3exit/-/blob/master/i3exit>.
|
||||
|
||||
- Log out of i3:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# i3lock
|
||||
|
||||
> Simple screen locker built for the i3 window manager.
|
||||
> More information: <https://i3wm.org/i3lock>.
|
||||
> More information: <https://manned.org/i3lock>.
|
||||
|
||||
- Lock the screen showing a white background:
|
||||
|
||||
@@ -14,24 +14,24 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Lock the screen with a simple color background (rrggbb format):
|
||||
|
||||
`i3lock --color {{0000ff}}`
|
||||
`i3lock {{[-c|--color]}} {{0000ff}}`
|
||||
|
||||
- Lock the screen to a PNG background:
|
||||
|
||||
`i3lock --image {{path/to/file.png}}`
|
||||
`i3lock {{[-i|--image]}} {{path/to/file.png}}`
|
||||
|
||||
- Lock the screen and disable the unlock indicator (removes feedback on keypress):
|
||||
|
||||
`i3lock --no-unlock-indicator`
|
||||
`i3lock {{[-u|--no-unlock-indicator]}}`
|
||||
|
||||
- Lock the screen and don't hide the mouse pointer:
|
||||
|
||||
`i3lock --pointer {{default}}`
|
||||
`i3lock {{[-p|--pointer]}} {{default}}`
|
||||
|
||||
- Lock the screen to a PNG background tiled over all monitors:
|
||||
|
||||
`i3lock --image {{path/to/file.png}} --tiling`
|
||||
`i3lock {{[-i|--image]}} {{path/to/file.png}} {{[-t|--tiling]}}`
|
||||
|
||||
- Lock the screen and show the number of failed login attempts:
|
||||
|
||||
`i3lock --show-failed-attempts`
|
||||
`i3lock {{[-f|--show-failed-attempts]}}`
|
||||
|
||||
@@ -10,11 +10,11 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Mirror an image horizontally or vertically:
|
||||
|
||||
`jpegtran -flip {{horizontal|vertical}} {{path/to/image.jpg}} > {{path/to/output.jpg}}`
|
||||
`jpegtran {{[-f|-flip]}} {{horizontal|vertical}} {{path/to/image.jpg}} > {{path/to/output.jpg}}`
|
||||
|
||||
- Rotate an image 90, 180 or 270 degrees clockwise:
|
||||
|
||||
`jpegtran -rotate {{90|180|270}} {{path/to/image.jpg}} > {{path/to/output.jpg}}`
|
||||
`jpegtran {{[-ro|-rotate]}} {{90|180|270}} {{path/to/image.jpg}} > {{path/to/output.jpg}}`
|
||||
|
||||
- Transpose the image across the upper-left to lower right axis:
|
||||
|
||||
@@ -26,7 +26,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Convert the image to grayscale:
|
||||
|
||||
`jpegtran -grayscale {{path/to/image.jpg}} > {{path/to/output.jpg}}`
|
||||
`jpegtran {{[-g|-grayscale]}} {{path/to/image.jpg}} > {{path/to/output.jpg}}`
|
||||
|
||||
- Crop the image to a rectangular region of width `W` and height `H` from the upper-left corner, saving the output to a specific file:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Text editor of the KDE Desktop project.
|
||||
> See also `kate`.
|
||||
> More information: <https://apps.kde.org/kwrite/>.
|
||||
> More information: <https://docs.kde.org/stable5/en/kate/kwrite/command-line-options.html>.
|
||||
|
||||
- Open a text file:
|
||||
|
||||
@@ -19,7 +19,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Open a text file with a specific encoding:
|
||||
|
||||
`kwrite --encoding={{UTF-8}} {{path/to/file}}`
|
||||
`kwrite --encoding {{UTF-8}} {{path/to/file}}`
|
||||
|
||||
- Open a text file and navigate to a specific line and column:
|
||||
|
||||
|
||||
@@ -7,20 +7,20 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Dump users, computers, groups, OS and membership information via LDAP to HTML, JSON and greppable output.
|
||||
> See also `ldapsearch`.
|
||||
> More information: <https://github.com/dirkjanm/ldapdomaindump>.
|
||||
> More information: <https://github.com/dirkjanm/ldapdomaindump#usage>.
|
||||
|
||||
- Dump all information using the given LDAP account:
|
||||
|
||||
`ldapdomaindump --user {{domain}}\{{administrator}} --password {{password|ntlm_hash}} {{hostname|ip}}`
|
||||
`ldapdomaindump {{[-u|--user]}} {{domain}}\{{username}} {{[-p|--password]}} {{password|ntlm_hash}} {{hostname|ip}}`
|
||||
|
||||
- Dump all information, resolving computer hostnames:
|
||||
|
||||
`ldapdomaindump --resolve --user {{domain}}\{{administrator}} --password {{password}} {{hostname|ip}}`
|
||||
`ldapdomaindump {{[-r|--resolve]}} {{[-u|--user]}} {{domain}}\{{username}} {{[-p|--password]}}{{password}} {{hostname|ip}}`
|
||||
|
||||
- Dump all information, resolving computer hostnames with the selected DNS server:
|
||||
|
||||
`ldapdomaindump --resolve --dns-server {{domain_controller_ip}} --user {{domain}}\{{administrator}} --password {{password}} {{hostname|ip}}`
|
||||
`ldapdomaindump {{[-r|--resolve]}} {{[-n|--dns-server]}} {{domain_controller_ip}} {{[-u|--user]}} {{domain}}\{{username}} {{[-p|--password]}}{{password}} {{hostname|ip}}`
|
||||
|
||||
- Dump all information to the given directory without JSON output:
|
||||
|
||||
`ldapdomaindump --no-json --outdir {{path/to/directory}} --user {{domain}}\{{administrator}} --password {{password}} {{hostname|ip}}`
|
||||
`ldapdomaindump --no-json {{[-o|--outdir]}} {{path/to/directory}} {{[-u|--user]}} {{domain}}\{{username}} {{[-p|--password]}}{{password}} {{hostname|ip}}`
|
||||
|
||||
@@ -14,4 +14,4 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Restrict report to only include information for a selected service:
|
||||
|
||||
`logwatch --range {{all}} --service {{apache|pam_unix|etc}}`
|
||||
`logwatch --range {{all}} --service {{apache|pam_unix|...}}`
|
||||
|
||||
@@ -5,26 +5,8 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# lrunzip
|
||||
|
||||
> A large file decompression program.
|
||||
> See also: `lrzip`, `lrztar`, `lrzuntar`.
|
||||
> More information: <https://manned.org/lrunzip>.
|
||||
> This command is an alias of `lrzip -d`.
|
||||
|
||||
- Decompress a file:
|
||||
- View documentation for the original command:
|
||||
|
||||
`lrunzip {{filename.lrz}}`
|
||||
|
||||
- Decompress a file using a specific number of processor threads:
|
||||
|
||||
`lrunzip -p {{8}} {{filename.lrz}}`
|
||||
|
||||
- Decompress a file and silently overwrite files if they exist:
|
||||
|
||||
`lrunzip -f {{filename.lrz}}`
|
||||
|
||||
- Keep broken or damaged files instead of deleting them when decompressing:
|
||||
|
||||
`lrunzip -K {{filename.lrz}}`
|
||||
|
||||
- Specify output file name and/or path:
|
||||
|
||||
`lrunzip -o {{outfilename}} {{filename.lrz}}`
|
||||
`tldr lrzip`
|
||||
|
||||
@@ -5,26 +5,8 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# lrzuntar
|
||||
|
||||
> A wrapper for `lrunzip` to simplify decompression of directories.
|
||||
> See also: `lrztar`, `lrzip`.
|
||||
> More information: <https://manned.org/lrzuntar>.
|
||||
> This command is an alias of `lrztar -d`.
|
||||
|
||||
- Decompress from a file to the current directory:
|
||||
- View documentation for the original command:
|
||||
|
||||
`lrzuntar {{path/to/archive.tar.lrz}}`
|
||||
|
||||
- Decompress from a file to the current directory using a specific number of processor threads:
|
||||
|
||||
`lrzuntar -p {{8}} {{path/to/archive.tar.lrz}}`
|
||||
|
||||
- Decompress from a file to the current directory and silently overwrite items that already exist:
|
||||
|
||||
`lrzuntar -f {{archive.tar.lrz}}`
|
||||
|
||||
- Specify the output path:
|
||||
|
||||
`lrzuntar -O {{path/to/directory}} {{archive.tar.lrz}}`
|
||||
|
||||
- Delete the compressed file after decompression:
|
||||
|
||||
`lrzuntar -D {{path/to/archive.tar.lrz}}`
|
||||
`tldr lrztar`
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# lxc-create
|
||||
|
||||
> Create linux containers.
|
||||
> More information: <https://linuxcontainers.org/lxc/getting-started>.
|
||||
> More information: <https://linuxcontainers.org/lxc/getting-started/>.
|
||||
|
||||
- Create a container interactively in `/var/lib/lxc/`:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# lxc network
|
||||
|
||||
> Manage networks for LXD containers.
|
||||
> More information: <https://linuxcontainers.org/lxd/docs/master/networks>.
|
||||
> More information: <https://documentation.ubuntu.com/lxd/latest/reference/manpages/lxc/network/>.
|
||||
|
||||
- List all available networks:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# lxc profile
|
||||
|
||||
> Manage profiles for LXD containers.
|
||||
> More information: <https://linuxcontainers.org/lxd/docs/master/profiles>.
|
||||
> More information: <https://documentation.ubuntu.com/lxd/latest/reference/manpages/lxc/profile/>.
|
||||
|
||||
- List all available profiles:
|
||||
|
||||
@@ -26,7 +26,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Launch a new container with specific profiles:
|
||||
|
||||
`lxc launch {{container_image}} {{container_name}} --profile {{profile1}} --profile {{profile2}}`
|
||||
`lxc launch {{container_image}} {{container_name}} {{[-p|--profile]}} {{profile1}} {{[-p|--profile]}} {{profile2}}`
|
||||
|
||||
- Change the profiles of a running container:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# lxi
|
||||
|
||||
> Control LXI compatible instruments such as oscilloscopes.
|
||||
> More information: <https://github.com/lxi-tools/lxi-tools>.
|
||||
> More information: <https://github.com/lxi-tools/lxi-tools#32-lxi>.
|
||||
|
||||
- Discover LXI devices on available networks:
|
||||
|
||||
@@ -14,16 +14,16 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Capture a screenshot, detecting a plugin automatically:
|
||||
|
||||
`lxi screenshot --address {{ip_address}}`
|
||||
`lxi screenshot {{[-a|--address]}} {{ip_address}}`
|
||||
|
||||
- Capture a screenshot using a specified plugin:
|
||||
|
||||
`lxi screenshot --address {{ip_address}} --plugin {{rigol-1000z}}`
|
||||
`lxi screenshot {{[-a|--address]}} {{ip_address}} {{[-p|--plugin]}} {{rigol-1000z}}`
|
||||
|
||||
- Send an SCPI command to an instrument:
|
||||
|
||||
`lxi scpi --address {{ip_address}} "{{*IDN?}}"`
|
||||
`lxi scpi {{[-a|--address]}} {{ip_address}} "{{*IDN?}}"`
|
||||
|
||||
- Run a benchmark for request and response performance:
|
||||
|
||||
`lxi benchmark --address {{ip_address}}`
|
||||
`lxi benchmark {{[-a|--address]}} {{ip_address}}`
|
||||
|
||||
@@ -14,4 +14,4 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Show the entire global manpath:
|
||||
|
||||
`manpath --global`
|
||||
`manpath {{[-g|--global]}}`
|
||||
|
||||
@@ -10,8 +10,8 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Open a serial port using the specified baud rate:
|
||||
|
||||
`microcom --port {{path/to/serial_port}} --speed {{baud_rate}}`
|
||||
`microcom {{[-p|--port]}} {{/dev/ttyXYZ}} {{[-s|--speed]}} {{baud_rate}}`
|
||||
|
||||
- Establish a telnet connection to the specified host:
|
||||
|
||||
`microcom --telnet {{hostname}}:{{port}}`
|
||||
`microcom {{[-t|--telnet]}} {{hostname}}:{{port}}`
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# mklost+found
|
||||
|
||||
> Create a lost+found directory.
|
||||
> More information: <https://manned.org/mklost+found>.
|
||||
> More information: <https://linux.die.net/man/8/mklost+found>.
|
||||
|
||||
- Create a `lost+found` directory in the current directory:
|
||||
|
||||
|
||||
@@ -18,19 +18,19 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Start the MOC server in the background, without launching the MOC terminal UI:
|
||||
|
||||
`mocp --server`
|
||||
`mocp {{[-S|--server]}}`
|
||||
|
||||
- Add a specific song to the play queue while MOC is in the background:
|
||||
|
||||
`mocp --enqueue {{path/to/audio_file}}`
|
||||
`mocp {{[-q|--enqueue]}} {{path/to/audio_file}}`
|
||||
|
||||
- Add songs recursively to the play queue while MOC is in the background:
|
||||
|
||||
`mocp --append {{path/to/directory}}`
|
||||
`mocp {{[-a|--append]}} {{path/to/directory}}`
|
||||
|
||||
- Clear the play queue while MOC is in the background:
|
||||
|
||||
`mocp --clear`
|
||||
`mocp {{[-c|--clear]}}`
|
||||
|
||||
- Play or stop the currently queued song while MOC is in the background:
|
||||
|
||||
@@ -38,4 +38,4 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Stop the MOC server while it's in the background:
|
||||
|
||||
`mocp --exit`
|
||||
`mocp {{[-x|--exit]}}`
|
||||
|
||||
@@ -10,8 +10,8 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Open a new window and connect to multiple SSH servers:
|
||||
|
||||
`mssh {{user@host1}} {{user@host2}} {{...}}`
|
||||
`mssh {{user@host1 user@host2 ...}}`
|
||||
|
||||
- Open a new window and connect to a group of servers predefined in `~/.mssh_clusters`:
|
||||
|
||||
`mssh --alias {{alias_name}}`
|
||||
`mssh {{[-a|--alias]}} {{alias_name}}`
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# nitrogen
|
||||
|
||||
> Desktop background browser and setter for X Window.
|
||||
> More information: <https://github.com/l3ib/nitrogen>.
|
||||
> More information: <https://manned.org/nitrogen>.
|
||||
|
||||
- View and set the wallpapers from a specific directory:
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Start a new VPN session:
|
||||
|
||||
`openvpn3 session-start --config {{path/to/config.conf}}`
|
||||
`openvpn3 session-start {{[-c|--config]}} {{path/to/config.conf}}`
|
||||
|
||||
- List established sessions:
|
||||
|
||||
@@ -18,11 +18,11 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Disconnect the currently established session started with given configuration:
|
||||
|
||||
`openvpn3 session-manage --config {{path/to/config.conf}} --disconnect`
|
||||
`openvpn3 session-manage {{[-c|--config]}} {{path/to/config.conf}} {{[-D|--disconnect]}}`
|
||||
|
||||
- Import VPN configuration:
|
||||
|
||||
`openvpn3 config-import --config {{path/to/config.conf}}`
|
||||
`openvpn3 config-import {{[-c|--config]}} {{path/to/config.conf}}`
|
||||
|
||||
- List imported configurations:
|
||||
|
||||
|
||||
@@ -14,8 +14,8 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Notify the kernel of partition table changes and show a summary of devices and their partitions:
|
||||
|
||||
`sudo partprobe --summary`
|
||||
`sudo partprobe {{[-s|--summary]}}`
|
||||
|
||||
- Show a summary of devices and their partitions but don't notify the kernel:
|
||||
|
||||
`sudo partprobe --summary --dry-run`
|
||||
`sudo partprobe {{[-s|--summary]}} {{[-d|--dry-run]}}`
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# powerprofilesctl
|
||||
|
||||
> Make power profiles handling available over D-Bus.
|
||||
> More information: <https://gitlab.freedesktop.org/hadess/power-profiles-daemon/>.
|
||||
> More information: <https://gitlab.freedesktop.org/upower/power-profiles-daemon#how-to-use>.
|
||||
|
||||
- List available power profiles:
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Display a tree of processes with PIDs:
|
||||
|
||||
`pstree -p`
|
||||
`pstree {{[-p|--show-pids]}}`
|
||||
|
||||
- Display all process trees rooted at processes owned by specified user:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# pulseaudio
|
||||
|
||||
> The PulseAudio sound system daemon and manager.
|
||||
> More information: <https://www.freedesktop.org/wiki/Software/PulseAudio/>.
|
||||
> More information: <https://manned.org/pulseaudio>.
|
||||
|
||||
- Check if PulseAudio is running (a non-zero exit code means it is not running):
|
||||
|
||||
@@ -18,7 +18,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Kill the running PulseAudio daemon:
|
||||
|
||||
`pulseaudio --kill`
|
||||
`pulseaudio {{[-k|--kill]}}`
|
||||
|
||||
- List available modules:
|
||||
|
||||
@@ -26,4 +26,4 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Load a module into the currently running daemon with the specified arguments:
|
||||
|
||||
`pulseaudio --load="{{module_name}} {{arguments}}"`
|
||||
`pulseaudio {{[-L|--load]}} "{{module_name}} {{arguments}}"`
|
||||
|
||||
@@ -11,20 +11,20 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Update the list of available slackbuilds and versions:
|
||||
|
||||
`slapt-src --update`
|
||||
`slapt-src {{[-u|--update]}}`
|
||||
|
||||
- List all available slackbuilds:
|
||||
|
||||
`slapt-src --list`
|
||||
`slapt-src {{[-l|--list]}}`
|
||||
|
||||
- Fetch, build and install the specified slackbuild(s):
|
||||
|
||||
`slapt-src --install {{slackbuild_name}}`
|
||||
`slapt-src {{[-i|--install]}} {{slackbuild_name}}`
|
||||
|
||||
- Locate slackbuilds by their name or description:
|
||||
|
||||
`slapt-src --search {{search_term}}`
|
||||
`slapt-src {{[-s|--search]}} {{search_term}}`
|
||||
|
||||
- Display information about a slackbuild:
|
||||
|
||||
`slapt-src --show {{slackbuild_name}}`
|
||||
`slapt-src {{[-w|--show]}} {{slackbuild_name}}`
|
||||
|
||||
@@ -6,19 +6,19 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# spi
|
||||
|
||||
> A meta package manager that handles both packages and slackbuilds.
|
||||
> More information: <https://github.com/gapan/spi>.
|
||||
> More information: <https://github.com/gapan/spi/blob/master/man/spi.t2t>.
|
||||
|
||||
- Update the list of available packages and slackbuilds:
|
||||
|
||||
`spi --update`
|
||||
`spi {{[-u|--update]}}`
|
||||
|
||||
- Install a package or slackbuild:
|
||||
|
||||
`spi --install {{package/slackbuild_name}}`
|
||||
`spi {{[-i|--install]}} {{package/slackbuild_name}}`
|
||||
|
||||
- Upgrade all installed packages to the latest versions available:
|
||||
|
||||
`spi --upgrade`
|
||||
`spi {{[-U|--upgrade]}}`
|
||||
|
||||
- Locate packages or slackbuilds by package name or description:
|
||||
|
||||
|
||||
@@ -6,15 +6,15 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# steghide
|
||||
|
||||
> Steganography tool for JPEG, BMP, WAV and AU file formats.
|
||||
> More information: <https://github.com/StefanoDeVuono/steghide>.
|
||||
> More information: <https://manned.org/steghide>.
|
||||
|
||||
- Embed data in a PNG, prompting for a passphrase:
|
||||
|
||||
`steghide embed --coverfile {{path/to/image.png}} --embedfile {{path/to/data.txt}}`
|
||||
`steghide embed {{[-cf|--coverfile]}} {{path/to/image.png}} {{[-ef|--embedfile]}} {{path/to/data.txt}}`
|
||||
|
||||
- Extract data from a WAV audio file:
|
||||
|
||||
`steghide extract --stegofile {{path/to/sound.wav}}`
|
||||
`steghide extract {{[-sf|--stegofile]}} {{path/to/sound.wav}}`
|
||||
|
||||
- Display file information, trying to detect an embedded file:
|
||||
|
||||
@@ -22,7 +22,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Embed data in a JPEG image, using maximum compression:
|
||||
|
||||
`steghide embed --coverfile {{path/to/image.jpg}} --embedfile {{path/to/data.txt}} --compress {{9}}`
|
||||
`steghide embed {{[-cf|--coverfile]}} {{path/to/image.jpg}} {{[-ef|--embedfile]}} {{path/to/data.txt}} {{[-z|--compress]}} {{9}}`
|
||||
|
||||
- Get the list of supported encryption algorithms and modes:
|
||||
|
||||
@@ -30,4 +30,4 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Embed encrypted data in a JPEG image, e.g. with Blowfish in CBC mode:
|
||||
|
||||
`steghide embed --coverfile {{path/to/image.jpg}} --embedfile {{path/to/data.txt}} --encryption {{blowfish|...}} {{cbc|...}}`
|
||||
`steghide embed {{[-cf|--coverfile]}} {{path/to/image.jpg}} {{[-ef|--embedfile]}} {{path/to/data.txt}} {{[-e|--encryption]}} {{blowfish|...}} {{cbc|...}}`
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# tomb
|
||||
|
||||
> Manage encrypted storage directories that can be safely transported and hidden in a filesystem.
|
||||
> More information: <https://www.dyne.org/software/tomb/>.
|
||||
> More information: <https://dyne.org/docs/tomb/manpage/>.
|
||||
|
||||
- Create a new tomb with an initial size of 100 MB:
|
||||
|
||||
|
||||
@@ -11,11 +11,11 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Set the max number of counts before a filesystem is checked to 2:
|
||||
|
||||
`tune2fs -c {{2}} {{/dev/sdXN}}`
|
||||
`tune2fs -c 2 {{/dev/sdXN}}`
|
||||
|
||||
- Set the filesystem label to MY_LABEL:
|
||||
|
||||
`tune2fs -L {{'MY_LABEL'}} {{/dev/sdXN}}`
|
||||
`tune2fs -L 'MY_LABEL' {{/dev/sdXN}}`
|
||||
|
||||
- Enable discard and user-specified extended attributes for a filesystem:
|
||||
|
||||
@@ -23,4 +23,4 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Enable journaling for a filesystem:
|
||||
|
||||
`tune2fs -o^{{nobarrier}} {{/dev/sdXN}}`
|
||||
`tune2fs -o ^{{nobarrier}} {{/dev/sdXN}}`
|
||||
|
||||
@@ -15,4 +15,4 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Display file names as soon as they are found:
|
||||
|
||||
`sudo updatedb --verbose`
|
||||
`sudo updatedb {{[-v|--verbose]}}`
|
||||
|
||||
@@ -10,12 +10,12 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Generate a random UUID:
|
||||
|
||||
`uuidd --random`
|
||||
`uuidd {{[-r|--random]}}`
|
||||
|
||||
- Generate a bulk number of random UUIDs:
|
||||
|
||||
`uuidd --random --uuids {{number_of_uuids}}`
|
||||
`uuidd {{[-r|--random]}} {{[-n|--uuids]}} {{number_of_uuids}}`
|
||||
|
||||
- Generate a time-based UUID, based on the current time and MAC address of the system:
|
||||
|
||||
`uuidd --time`
|
||||
`uuidd {{[-t|--time]}}`
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# wajig
|
||||
|
||||
> Simplified all-in-one-place system support tool for Debian-based systems.
|
||||
> More information: <https://wajig.togaware.com>.
|
||||
> More information: <https://togaware.com/linux/survivor/wajig.html>.
|
||||
|
||||
- Update the list of available packages and versions:
|
||||
|
||||
|
||||
@@ -14,8 +14,8 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Interactively set up a connection to a network and obscure the password:
|
||||
|
||||
`wifi-menu --obscure`
|
||||
`wifi-menu {{[-o|--obscure]}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`wifi-menu --help`
|
||||
`wifi-menu {{[-h|--help]}}`
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Display a cute cow and message on your Linux desktop.
|
||||
> The cow is displayed for either a fixed amount of time, or an amount of time calculated from the size of the text. Click on the cow to dismiss it immediately.
|
||||
> More information: <https://www.doof.me.uk/xcowsay/>.
|
||||
> More information: <https://manned.org/xcowsay>.
|
||||
|
||||
- Display a cow saying "hello, world":
|
||||
|
||||
@@ -19,11 +19,11 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Display a cow at the specified X and Y coordinates:
|
||||
|
||||
`xcowsay --at={{X}},{{Y}}`
|
||||
`xcowsay --at {{X}},{{Y}}`
|
||||
|
||||
- Display a different sized cow:
|
||||
|
||||
`xcowsay --cow-size={{small|med|large}}`
|
||||
`xcowsay --cow-size {{small|med|large}}`
|
||||
|
||||
- Display a thought bubble instead of a speech bubble:
|
||||
|
||||
@@ -31,4 +31,4 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Display a different image instead of the default cow:
|
||||
|
||||
`xcowsay --image={{path/to/file}}`
|
||||
`xcowsay --image {{path/to/file}}`
|
||||
|
||||
@@ -14,24 +14,24 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Take a screenshot of the entire screen and launch the GUI to ask how to proceed:
|
||||
|
||||
`xfce4-screenshooter --fullscreen`
|
||||
`xfce4-screenshooter {{[-f|--fullscreen]}}`
|
||||
|
||||
- Take a screenshot of the entire screen and save it in the specified directory:
|
||||
|
||||
`xfce4-screenshooter --fullscreen --save {{path/to/directory}}`
|
||||
`xfce4-screenshooter {{[-f|--fullscreen]}} {{[-s|--save]}} {{path/to/directory}}`
|
||||
|
||||
- Wait some time before taking the screenshot:
|
||||
|
||||
`xfce4-screenshooter --delay {{seconds}}`
|
||||
`xfce4-screenshooter {{[-d|--delay]}} {{seconds}}`
|
||||
|
||||
- Take a screenshot of a region of the screen (select using the mouse):
|
||||
|
||||
`xfce4-screenshooter --region`
|
||||
`xfce4-screenshooter {{[-r|--region]}}`
|
||||
|
||||
- Take a screenshot of the active window, and copy it to the clipboard:
|
||||
|
||||
`xfce4-screenshooter --window --clipboard`
|
||||
`xfce4-screenshooter {{[-w|--window]}} {{[-c|--clipboard]}}`
|
||||
|
||||
- Take a screenshot of the active window, and open it with a chosen program:
|
||||
|
||||
`xfce4-screenshooter --window --open {{gimp}}`
|
||||
`xfce4-screenshooter {{[-w|--window]}} {{[-o|--open]}} {{gimp}}`
|
||||
|
||||
@@ -10,16 +10,16 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Run a video using mpv:
|
||||
|
||||
`xwinwrap -b -nf -ov -- {{mpv}} -wid {{wid}} --loop --no-audio --no-resume-playback --panscan={{1.0}} {{path/to/video.mp4}}`
|
||||
`xwinwrap -b -nf -ov -- {{mpv}} --wid {{wid}} --loop --no-audio --no-resume-playback --panscan={{1.0}} {{path/to/video.mp4}}`
|
||||
|
||||
- Run a video in fullscreen using mpv:
|
||||
|
||||
`xwinwrap -b -nf -fs -ov -- {{mpv}} -wid {{wid}} --loop --no-audio --no-resume-playback --panscan={{1.0}} {{path/to/video.mp4}}`
|
||||
`xwinwrap -b -nf -fs -ov -- {{mpv}} --wid {{wid}} --loop --no-audio --no-resume-playback --panscan={{1.0}} {{path/to/video.mp4}}`
|
||||
|
||||
- Run a video using mpv with 80% opacity:
|
||||
|
||||
`xwinwrap -b -nf -ov -o 0.8 --- {{mpv}} -wid {{wid}} --loop --no-audio --no-resume-playback --panscan={{1.0}} {{path/to/video.mp4}}`
|
||||
`xwinwrap -b -nf -ov -o 0.8 --- {{mpv}} --wid {{wid}} --loop --no-audio --no-resume-playback --panscan={{1.0}} {{path/to/video.mp4}}`
|
||||
|
||||
- Run a video using mpv in a second monitor 1600x900 with 1920 offset on X-axis:
|
||||
|
||||
`xwinwrap -g 1600x900+1920 -b -nf -ov -- {{mpv}} -wid {{wid}} --loop --no-audio --no-resume-playback --panscan={{1.0}} {{path/to/video.mkv}}`
|
||||
`xwinwrap -g 1600x900+1920 -b -nf -ov -- {{mpv}} --wid {{wid}} --loop --no-audio --no-resume-playback --panscan={{1.0}} {{path/to/video.mkv}}`
|
||||
|
||||
Reference in New Issue
Block a user