mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 20:11:19 +08:00
*: add oxford comma and minor fixes part 5 (#20140)
Co-authored-by: Lena Pastwa <lena@lnps.me>
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
|
||||
`docker {{[ps|container ls]}} {{[-a|--all]}} {{[-f|--filter]}} "exited={{code}}"`
|
||||
|
||||
- Filter containers by status (created, running, removing, paused, exited and dead):
|
||||
- Filter containers by status (created, running, removing, paused, exited, and dead):
|
||||
|
||||
`docker {{[ps|container ls]}} {{[-f|--filter]}} "status={{status}}"`
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
# jf
|
||||
|
||||
> Interact with JFrog products like Artifactory, Xray, Distribution, Pipelines and Mission Control.
|
||||
> Interact with JFrog products like Artifactory, Xray, Distribution, Pipelines, and Mission Control.
|
||||
> More information: <https://jfrog.com/help/r/jfrog-applications-and-cli-documentation/jfrog-cli>.
|
||||
|
||||
- Add a new configuration:
|
||||
|
||||
@@ -15,6 +15,6 @@
|
||||
|
||||
`makepasswd --minchars {{5}} --maxchars {{10}}`
|
||||
|
||||
- Generate a password containing only the characters "b", "a" or "r":
|
||||
- Generate a password containing only the characters "b", "a", or "r":
|
||||
|
||||
`makepasswd --string {{bar}}`
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# nix profile
|
||||
|
||||
> Install, update and remove packages from Nix profiles.
|
||||
> Install, update, and remove packages from Nix profiles.
|
||||
> More information: <https://nix.dev/manual/nix/stable/command-ref/new-cli/nix3-profile.html>.
|
||||
|
||||
- Install some packages from nixpkgs into the default profile:
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
`nix run {{remote_name}}:{{owner}}/{{repo}}`
|
||||
|
||||
- Run from a remote repository using a specific tag, revision or branch:
|
||||
- Run from a remote repository using a specific tag, revision, or branch:
|
||||
|
||||
`nix run {{remote_name}}:{{owner}}/{{repo}}/{{reference}}`
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# pamfix
|
||||
|
||||
> Fix errors in PAM, PBM, PGM and PPM files.
|
||||
> Fix errors in PAM, PBM, PGM, and PPM files.
|
||||
> See also: `pamfile`, `pamvalidate`.
|
||||
> More information: <https://netpbm.sourceforge.net/doc/pamfix.html>.
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
> Copy a PAM image.
|
||||
> More information: <https://netpbm.sourceforge.net/doc/pamtopam.html>.
|
||||
|
||||
- Copy a PAM image (i.e. a PBM, PGM, PPM or PAM image) from `stdin` to `stdout`:
|
||||
- Copy a PAM image (i.e. a PBM, PGM, PPM, or PAM image) from `stdin` to `stdout`:
|
||||
|
||||
`pamtopam < {{path/to/image.pam}} > {{path/to/output.pam}}`
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
> Convert a PAM image to an equivalent PNM image.
|
||||
> More information: <https://netpbm.sourceforge.net/doc/pamtopnm.html>.
|
||||
|
||||
- Convert a PAM image to an equivalent PNM image, i.e. a PBM, PGM or PPM image:
|
||||
- Convert a PAM image to an equivalent PNM image, i.e. a PBM, PGM, or PPM image:
|
||||
|
||||
`pamtopnm {{path/to/image.pam}} > {{path/to/output.pbm|pgm|ppm}}`
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
`php artisan tinker`
|
||||
|
||||
- Generate a new Eloquent model class with a migration, factory and resource controller:
|
||||
- Generate a new Eloquent model class with a migration, factory, and resource controller:
|
||||
|
||||
`php artisan make:model {{ModelName}} --all`
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# ppmdraw
|
||||
|
||||
> Draw lines, text and more on a PPM image by executing a script.
|
||||
> Draw lines, text, and more on a PPM image by executing a script.
|
||||
> Documentation on the utilized scripting language can be found by following the link below.
|
||||
> More information: <https://netpbm.sourceforge.net/doc/ppmdraw.html>.
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# ppmforge
|
||||
|
||||
> Generate fractals resembling clouds, planets and starry skies.
|
||||
> Generate fractals resembling clouds, planets, and starry skies.
|
||||
> More information: <https://netpbm.sourceforge.net/doc/ppmforge.html>.
|
||||
|
||||
- Generate an image of a planet:
|
||||
|
||||
@@ -31,6 +31,6 @@
|
||||
|
||||
`qdbus {{org.kde.kglobalaccel}} {{/component/kmix}} {{invokeShortcut}} "{{increase_volume}}"`
|
||||
|
||||
- Gracefully log out and then do nothing, reboot or shut down:
|
||||
- Gracefully log out and then do nothing, reboot, or shut down:
|
||||
|
||||
`qdbus {{org.kde.Shutdown}} {{/Shutdown}} {{logout|logoutAndReboot|logoutAndShutdown}}`
|
||||
|
||||
@@ -4,6 +4,6 @@
|
||||
> See also: `ppmtorgb3`.
|
||||
> More information: <https://netpbm.sourceforge.net/doc/rgb3toppm.html>.
|
||||
|
||||
- Combine three PGM images (representing red, green and blue color components) into one PPM image:
|
||||
- Combine three PGM images (representing red, green, and blue color components) into one PPM image:
|
||||
|
||||
`rgb3toppm {{path/to/red_file.ppm}} {{path/to/green_file.ppm}} {{path/to/blue_file.ppm}} > {{path/to/output.ppm}}`
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# rustup show
|
||||
|
||||
> Show installed toolchains, targets and the version of `rustc`.
|
||||
> Show installed toolchains, targets, and the version of `rustc`.
|
||||
> More information: <https://rust-lang.github.io/rustup/>.
|
||||
|
||||
- Show all information:
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# warp-cli
|
||||
|
||||
> Connect, disconnect and switch modes of a connection to Cloudflare's WARP service.
|
||||
> Connect, disconnect, and switch modes of a connection to Cloudflare's WARP service.
|
||||
> WARP is a VPN that encrypts traffic for privacy, security, and speed.
|
||||
> See also: `fastd`, `ivpn`, `mozillavpn`, `mullvad`.
|
||||
> More information: <https://developers.cloudflare.com/warp-client/>.
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
`addr2line {{[-e|--exe]}} {{path/to/executable}} {{address}}`
|
||||
|
||||
- Display the function name, filename and line number:
|
||||
- Display the function name, filename, and line number:
|
||||
|
||||
`addr2line {{[-e|--exe]}} {{path/to/executable}} {{[-f|--functions]}} {{address}}`
|
||||
|
||||
|
||||
@@ -7,6 +7,6 @@
|
||||
|
||||
`avifenc {{path/to/input.png}} {{path/to/output.avif}}`
|
||||
|
||||
- Encode with a specific speed (6=default, 0=slowest and 10=fastest):
|
||||
- Encode with a specific speed (6=default, 0=slowest, and 10=fastest):
|
||||
|
||||
`avifenc --speed {{2}} {{path/to/input.png}} {{path/to/output.avif}}`
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
`sudo bootctl reboot-to-firmware true`
|
||||
|
||||
- Specify the path to the EFI system partition (defaults to `/efi/`, `/boot/` or `/boot/efi`):
|
||||
- Specify the path to the EFI system partition (defaults to `/efi/`, `/boot/`, or `/boot/efi`):
|
||||
|
||||
`bootctl --esp-path /{{path/to/efi_system_partition}}/`
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
`sudo btrfs {{[c|check]}} --check-data-csum {{path/to/partition}}`
|
||||
|
||||
- Use the `n`-th superblock (`n` can be 0, 1 or 2):
|
||||
- Use the `n`-th superblock (`n` can be 0, 1, or 2):
|
||||
|
||||
`sudo btrfs {{[c|check]}} {{[-s|--super]}} {{n}} {{path/to/partition}}`
|
||||
|
||||
|
||||
@@ -23,6 +23,6 @@
|
||||
|
||||
`sudo btrfs {{[i|inspect-internal]}} {{[lo|logical-resolve]}} {{logical_address}} {{path/to/btrfs_mount}}`
|
||||
|
||||
- Print stats of root, extent, csum and fs trees:
|
||||
- Print stats of root, extent, csum, and fs trees:
|
||||
|
||||
`sudo btrfs {{[i|inspect-internal]}} {{[t|tree-stats]}} {{path/to/partition}}`
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
> Introspect and monitor the D-Bus bus.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/latest/busctl.html>.
|
||||
|
||||
- Show all peers on the bus, by their service names:
|
||||
- Show all peers on the bus by their service names:
|
||||
|
||||
`busctl list`
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
`busctl tree {{service1 service2 ...}}`
|
||||
|
||||
- Show interfaces, methods, properties and signals of the specified object on the specified service:
|
||||
- Show interfaces, methods, properties, and signals of the specified object on the specified service:
|
||||
|
||||
`busctl introspect {{service}} {{path/to/object}}`
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
# datamash
|
||||
|
||||
> Perform basic numeric, textual and statistical operations on input textual data files.
|
||||
> Perform basic numeric, textual, and statistical operations on input textual data files.
|
||||
> More information: <https://www.gnu.org/software/datamash/manual/datamash.html#Invoking-datamash>.
|
||||
|
||||
- Get max, min, mean and median of a single column of numbers:
|
||||
- Get max, min, mean, and median of a single column of numbers:
|
||||
|
||||
`seq 3 | datamash max 1 min 1 mean 1 median 1`
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# dpkg-deb
|
||||
|
||||
> Pack, unpack and provide information about Debian archives.
|
||||
> Pack, unpack, and provide information about Debian archives.
|
||||
> More information: <https://manned.org/dpkg-deb>.
|
||||
|
||||
- Display information about a package:
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
> Note: dstat is deprecated and no longer maintained.
|
||||
> More information: <https://github.com/dstat-real/dstat>.
|
||||
|
||||
- Display CPU, disk, net, paging and system statistics:
|
||||
- Display CPU, disk, net, paging, and system statistics:
|
||||
|
||||
`dstat`
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
> Unmount the partition before running this command using `umount device`.
|
||||
> More information: <https://manned.org/dumpe2fs>.
|
||||
|
||||
- Display ext2, ext3 and ext4 filesystem information:
|
||||
- Display ext2, ext3, and ext4 filesystem information:
|
||||
|
||||
`dumpe2fs {{/dev/sdXN}}`
|
||||
|
||||
|
||||
@@ -31,6 +31,6 @@
|
||||
|
||||
`ebuild {{path/to/file.ebuild}} qmerge`
|
||||
|
||||
- Fetch, unpack, compile, install and qmerge the specified ebuild file:
|
||||
- Fetch, unpack, compile, install, and qmerge the specified ebuild file:
|
||||
|
||||
`ebuild {{path/to/file.ebuild}} merge`
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
`eject`
|
||||
|
||||
- Eject a specific device (the default order is cd-rom, scsi, floppy and tape):
|
||||
- Eject a specific device (the default order is cd-rom, scsi, floppy, and tape):
|
||||
|
||||
`eject {{/dev/cdrom}}`
|
||||
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
> ZIP archive password cracking utility.
|
||||
> More information: <https://manned.org/fcrackzip>.
|
||||
|
||||
- Brute-force a password with a length of 4 to 8 characters, and contains only alphanumeric characters (order matters):
|
||||
- Brute-force a password with a length of 4 to 8 characters and contains only alphanumeric characters (order matters):
|
||||
|
||||
`fcrackzip {{[-b|--brute-force]}} {{[-l|--length]}} 4-8 {{[-c|--charset]}} aA1 {{archive}}`
|
||||
|
||||
- Brute-force a password in verbose mode with a length of 3 characters that only contains lowercase characters, `$` and `%`:
|
||||
- Brute-force a password in verbose mode with a length of 3 characters that only contains lowercase characters, `$`, and `%`:
|
||||
|
||||
`fcrackzip {{[-v|--verbose]}} {{[-b|--brute-force]}} {{[-l|--length]}} 3 {{[-c|--charset]}} a:$% {{archive}}`
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# flashrom
|
||||
|
||||
> Read, write, verify and erase flash chips.
|
||||
> Read, write, verify, and erase flash chips.
|
||||
> More information: <https://manned.org/flashrom>.
|
||||
|
||||
- Probe the chip, ensuring the wiring is correct:
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# flatpak
|
||||
|
||||
> Build, install and run flatpak applications and runtimes.
|
||||
> Build, install, and run flatpak applications and runtimes.
|
||||
> More information: <https://docs.flatpak.org/en/latest/flatpak-command-reference.html#flatpak>.
|
||||
|
||||
- Run an installed application:
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
`fuser {{path/to/file_or_directory}}`
|
||||
|
||||
- Show more fields (`USER`, `PID`, `ACCESS` and `COMMAND`):
|
||||
- Show more fields (`USER`, `PID`, `ACCESS`, and `COMMAND`):
|
||||
|
||||
`fuser {{[-v|--verbose]}} {{path/to/file_or_directory}}`
|
||||
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
> Set the default boot entry for GRUB, for the next boot only.
|
||||
> More information: <https://manned.org/grub-reboot>.
|
||||
|
||||
- Set the default boot entry to an entry number, name or identifier for the next boot:
|
||||
- Set the default boot entry to an entry number, name, or identifier for the next boot:
|
||||
|
||||
`sudo grub-reboot {{entry_number}}`
|
||||
|
||||
- Set the default boot entry to an entry number, name or identifier for an alternative boot directory for the next boot:
|
||||
- Set the default boot entry to an entry number, name, or identifier for an alternative boot directory for the next boot:
|
||||
|
||||
`sudo grub-reboot --boot-directory /{{path/to/boot_directory}} {{entry_number}}`
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
> Set the default boot entry for GRUB.
|
||||
> More information: <https://manned.org/grub-set-default>.
|
||||
|
||||
- Set the default boot entry to an entry number, name or identifier:
|
||||
- Set the default boot entry to an entry number, name, or identifier:
|
||||
|
||||
`sudo grub-set-default {{entry_number}}`
|
||||
|
||||
- Set the default boot entry to an entry number, name or identifier for an alternative boot directory:
|
||||
- Set the default boot entry to an entry number, name, or identifier for an alternative boot directory:
|
||||
|
||||
`sudo grub-set-default --boot-directory /{{path/to/boot_directory}} {{entry_number}}`
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# guix package
|
||||
|
||||
> Install, upgrade and remove Guix packages, or rollback to previous configurations.
|
||||
> Install, upgrade, and remove Guix packages or rollback to previous configurations.
|
||||
> More information: <https://guix.gnu.org/manual/en/guix.html#Invoking-guix-package>.
|
||||
|
||||
- Install a new package:
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# homectl
|
||||
|
||||
> Create, remove, change or inspect home directories using the systemd-homed service.
|
||||
> Create, remove, change, or inspect home directories using the systemd-homed service.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/latest/homectl.html>.
|
||||
|
||||
- List user accounts and their associated home directories:
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
# i7z
|
||||
|
||||
> An Intel CPU (only i3, i5 and i7) realtime reporting tool.
|
||||
> An Intel CPU (only i3, i5, and i7) realtime reporting tool.
|
||||
> More information: <https://manned.org/i7z>.
|
||||
|
||||
- Start i7z (needs to be run in superuser mode):
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
`ionice {{[-c|--class]}} {{scheduling_class}} {{[-n|--classdata]}} {{priority}} {{command}}`
|
||||
|
||||
- Set I/O scheduling class of a running process with a specific [p]id, [P]gid or [u]id:
|
||||
- Set I/O scheduling class of a running process with a specific [p]id, [P]gid, or [u]id:
|
||||
|
||||
`ionice {{[-c|--class]}} {{scheduling_class}} -{{p|P|u}} {{id}}`
|
||||
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
# iptables
|
||||
|
||||
> Configure tables, chains and rules of the Linux kernel IPv4 firewall.
|
||||
> Configure tables, chains, and rules of the Linux kernel IPv4 firewall.
|
||||
> Use `ip6tables` to set rules for IPv6 traffic.
|
||||
> See also: `iptables-save`, `iptables-restore`.
|
||||
> More information: <https://manned.org/iptables>.
|
||||
|
||||
- View chains, rules, packet/byte counters and line numbers for the filter table:
|
||||
- View chains, rules, packet/byte counters, and line numbers for the filter table:
|
||||
|
||||
`sudo iptables {{[-vnL --line-numbers|--verbose --numeric --list --line-numbers]}}`
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# iw dev
|
||||
|
||||
> Show and manipulate wireless devices.
|
||||
> For a list of channels, frequencies and reg information: <https://wireless.docs.kernel.org/en/latest/en/developers/documentation/channellist.html>.
|
||||
> For a list of channels, frequencies, and reg information: <https://wireless.docs.kernel.org/en/latest/en/developers/documentation/channellist.html>.
|
||||
> More information: <https://wireless.docs.kernel.org/en/latest/en/users/documentation/iw.html>.
|
||||
|
||||
- Set device to monitor mode (interface must be down first. See also: `ip link`):
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
`jhead -n%Y_%m_%d-%H_%M_%S *.jpg`
|
||||
|
||||
- Rotate losslessly all JPEG images by 90, 180 or 270 based on the EXIF orientation tag:
|
||||
- Rotate losslessly all JPEG images by 90, 180, or 270 degrees based on the EXIF orientation tag:
|
||||
|
||||
`jhead -autorot *.jpg`
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
`jpegtran {{[-f|-flip]}} {{horizontal|vertical}} {{path/to/image.jpg}} > {{path/to/output.jpg}}`
|
||||
|
||||
- Rotate an image 90, 180 or 270 degrees clockwise:
|
||||
- Rotate an image 90, 180, or 270 degrees clockwise:
|
||||
|
||||
`jpegtran {{[-ro|-rotate]}} {{90|180|270}} {{path/to/image.jpg}} > {{path/to/output.jpg}}`
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# ldapdomaindump
|
||||
|
||||
> Dump users, computers, groups, OS and membership information via LDAP to HTML, JSON and greppable output.
|
||||
> 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#usage>.
|
||||
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
> Advanced log file viewer to analyze logs with little to no setup.
|
||||
> More information: <https://docs.lnav.org/en/latest/cli.html>.
|
||||
|
||||
- View logs of a program, specifying log files, directories or URLs:
|
||||
- View logs of a program, specifying log files, directories, or URLs:
|
||||
|
||||
`lnav {{path/to/log_or_directory|url}}`
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
`lsipc`
|
||||
|
||||
- Show information about active shared [m]emory segments, message [q]ueues or [s]empahore sets:
|
||||
- Show information about active shared [m]emory segments, message [q]ueues, or [s]empahore sets:
|
||||
|
||||
`lsipc {{--shmems|--queues|--semaphores}}`
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
`lsipc {{[-o|--output]}} {{KEY,ID,PERMS,SEND,STATUS,NSEMS,RESOURCE,...}}`
|
||||
|
||||
- Use [r]aw, [J]SON, [l]ist or [e]xport (key="value") format:
|
||||
- Use [r]aw, [J]SON, [l]ist, or [e]xport (key="value") format:
|
||||
|
||||
`lsipc {{--raw|--json|--list|--export}}`
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# machinectl
|
||||
|
||||
> Control the systemd machine manager.
|
||||
> Execute operations on virtual machines, containers and images.
|
||||
> Execute operations on virtual machines, containers, and images.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/latest/machinectl.html>.
|
||||
|
||||
- Start a machine as a service using `systemd-nspawn`:
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# microcom
|
||||
|
||||
> A minimalistic terminal program, used to access remote devices via a serial, CAN or telnet connection from the console.
|
||||
> A minimalistic terminal program, used to access remote devices via a serial, CAN, or telnet connection from the console.
|
||||
> More information: <https://manned.org/microcom>.
|
||||
|
||||
- Open a serial port using the specified baud rate:
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
# nft
|
||||
|
||||
> Allows configuration of tables, chains and rules provided by the Linux kernel firewall.
|
||||
> Allows configuration of tables, chains, and rules provided by the Linux kernel firewall.
|
||||
> Nftables replaces iptables.
|
||||
> More information: <https://wiki.nftables.org/wiki-nftables/index.php/Main_Page>.
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
> Manage connections with NetworkManager.
|
||||
> More information: <https://networkmanager.pages.freedesktop.org/NetworkManager/NetworkManager/nmcli.html#connection>.
|
||||
|
||||
- List all NetworkManager connections (shows name, UUID, type and device):
|
||||
- List all NetworkManager connections (shows name, UUID, type, and device):
|
||||
|
||||
`nmcli {{[c|connection]}}`
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
`pdfcrop {{path/to/input_file.pdf}} --margins '{{left}} {{top}} {{right}} {{bottom}}' {{path/to/output_file.pdf}}`
|
||||
|
||||
- Set the margins of each page to a specific value, using the same value for left, top, right and bottom:
|
||||
- Set the margins of each page to a specific value, using the same value for left, top, right, and bottom:
|
||||
|
||||
`pdfcrop {{path/to/input_file.pdf}} --margins {{300}} {{path/to/output_file.pdf}}`
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# pdftohtml
|
||||
|
||||
> Convert PDF files into HTML, XML and PNG images.
|
||||
> Convert PDF files into HTML, XML, and PNG images.
|
||||
> More information: <https://manned.org/pdftohtml>.
|
||||
|
||||
- Convert a PDF file to an HTML file:
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
# phar
|
||||
|
||||
> Create, update or extract PHP archives (PHAR).
|
||||
> Create, update, or extract PHP archives (PHAR).
|
||||
> More information: <https://manned.org/phar>.
|
||||
|
||||
- Add one or more files or directories to a Phar file:
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
`pipewire --config {{path/to/file.conf}}`
|
||||
|
||||
- Set the verbosity level (error, warn, info, debug or trace):
|
||||
- Set the verbosity level (error, warn, info, debug, or trace):
|
||||
|
||||
`pipewire -{{v|vv|...|vvvvv}}`
|
||||
|
||||
|
||||
@@ -16,9 +16,9 @@
|
||||
|
||||
`postconf -d`
|
||||
|
||||
- Display parameters only from the specified class. The class can be one of builtin, service, user or all:
|
||||
- Display parameters only from the specified class:
|
||||
|
||||
`postconf -C {{class}}`
|
||||
`postconf -C {{builtin|service|user|all}}`
|
||||
|
||||
- List available SASL plug-in types for the Postfix SMTP server. The plug-in type is selected with the `smtpd_sasl_type` configuration parameter by specifying `cyrus` or `dovecot` as the name:
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# pw-cli
|
||||
|
||||
> Manage a PipeWire instance's modules, objects, nodes, devices, links and much more.
|
||||
> Manage a PipeWire instance's modules, objects, nodes, devices, links, and much more.
|
||||
> See also: `wpctl`.
|
||||
> More information: <https://docs.pipewire.org/page_man_pw-cli_1.html>.
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
> See also: `quickemu`.
|
||||
> More information: <https://github.com/quickemu-project/quickemu>.
|
||||
|
||||
- Display the list of all supported guest operating systems, versions and variants:
|
||||
- Display the list of all supported guest operating systems, versions, and variants:
|
||||
|
||||
`quickget list`
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# quotacheck
|
||||
|
||||
> Scan a filesystem for disk usage; create, check and repair quota files.
|
||||
> Scan a filesystem for disk usage; create, check, and repair quota files.
|
||||
> It is best to run quota check with quotas turned off to prevent damage or loss to quota files.
|
||||
> More information: <https://manned.org/quotacheck>.
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# resize2fs
|
||||
|
||||
> Resize an ext2, ext3 or ext4 filesystem.
|
||||
> Resize an ext2, ext3, or ext4 filesystem.
|
||||
> Does not resize the underlying partition. The filesystem may have to be unmounted first, read the man page for more details.
|
||||
> More information: <https://manned.org/resize2fs>.
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# rpmconf
|
||||
|
||||
> Handle RPMNEW, RPMSAVE and RPMORIG files left over by package upgrades.
|
||||
> Handle `.rpmnew`, `.rpmsave`, and `.rpmorig` files left over by package upgrades.
|
||||
> See also: `rpm`.
|
||||
> More information: <https://manned.org/rpmconf.8>.
|
||||
|
||||
@@ -8,6 +8,6 @@
|
||||
|
||||
`sudo rpmconf {{[-a|--all]}}`
|
||||
|
||||
- Delete orphaned RPMNEW and RPMSAVE files:
|
||||
- Delete orphaned `.rpmnew` and `.rpmsave` files:
|
||||
|
||||
`sudo rpmconf {{[-a|--all]}} {{[-c|--clean]}}`
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
`slapt-src {{[-l|--list]}}`
|
||||
|
||||
- Fetch, build and install the specified slackbuild(s):
|
||||
- Fetch, build, and install the specified slackbuild(s):
|
||||
|
||||
`slapt-src {{[-i|--install]}} {{slackbuild_name}}`
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# steghide
|
||||
|
||||
> Steganography tool for JPEG, BMP, WAV and AU file formats.
|
||||
> Steganography tool for JPEG, BMP, WAV, and AU file formats.
|
||||
> More information: <https://manned.org/steghide>.
|
||||
|
||||
- Embed data in a PNG, prompting for a passphrase:
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
> See also: `chroot`, `mount`.
|
||||
> More information: <https://manned.org/switch_root>.
|
||||
|
||||
- Move `/proc`, `/dev`, `/sys` and `/run` to the specified filesystem, use this filesystem as the new root and start the specified init process:
|
||||
- Move `/proc`, `/dev`, `/sys`, and `/run` to the specified filesystem, use this filesystem as the new root and start the specified init process:
|
||||
|
||||
`switch_root {{new_root}} {{/sbin/init}}`
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# sysdig
|
||||
|
||||
> System troubleshooting, analysis and exploration.
|
||||
> Capture, filter and store systemcalls.
|
||||
> System troubleshooting, analysis, and exploration.
|
||||
> Capture, filter, and store systemcalls.
|
||||
> More information: <https://github.com/draios/sysdig/wiki>.
|
||||
|
||||
- Capture all the events from the live system and print them to screen:
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# systemd-creds
|
||||
|
||||
> List, show, encrypt and decrypt service credentials.
|
||||
> List, show, encrypt, and decrypt service credentials.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemd-creds.html>.
|
||||
|
||||
- Encrypt a file and set a specific name:
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
> It can capture and display TCP connections and data. It can also monitor network traffic on a interface, host, or port.
|
||||
> More information: <https://manned.org/tcpick>.
|
||||
|
||||
- Capture traffic on a specific interface, port and host::
|
||||
- Capture traffic on a specific interface, port, and host:
|
||||
|
||||
`sudo tcpick {{[-i|--interface]}} {{interface}} {{[-C|--colors]}} -h {{host}} -p {{port}}`
|
||||
|
||||
|
||||
@@ -3,6 +3,6 @@
|
||||
> Kill specified in-progress TCP connections.
|
||||
> More information: <https://manned.org/tcpkill>.
|
||||
|
||||
- Kill in-progress connections at a specified interface, host and port:
|
||||
- Kill in-progress connections at a specified interface, host, and port:
|
||||
|
||||
`tcpkill -i {{eth1}} host {{192.95.4.27}} and port {{2266}}`
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
> A realtime plotting utility for the command-line with data input from `stdin`.
|
||||
> More information: <https://github.com/tenox7/ttyplot>.
|
||||
|
||||
- Plot the values `1`, `2` and `3` (Note: `cat` prevents `ttyplot` from exiting):
|
||||
- Plot the values `1`, `2`, and `3` (Note: `cat` prevents `ttyplot` from exiting):
|
||||
|
||||
`{ echo {{1 2 3}}; cat; } | ttyplot`
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# tune2fs
|
||||
|
||||
> Adjust parameters of an ext2, ext3 or ext4 filesystem.
|
||||
> Adjust parameters of an ext2, ext3, or ext4 filesystem.
|
||||
> May be used on mounted filesystems.
|
||||
> More information: <https://manned.org/tune2fs>.
|
||||
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@
|
||||
|
||||
`tuxi -r {{search_terms}}`
|
||||
|
||||
- Display only search results (silences "Did you mean?", greetings and usage):
|
||||
- Display only search results (silences "Did you mean?", greetings, and usage):
|
||||
|
||||
`tuxi -q {{search_terms}}`
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# unsquashfs
|
||||
|
||||
> Uncompress, extract and list files in squashfs filesystems.
|
||||
> Uncompress, extract, and list files in squashfs filesystems.
|
||||
> More information: <https://manned.org/unsquashfs>.
|
||||
|
||||
- Extract a squashfs filesystem to `squashfs-root` in the current working directory:
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
`urpmq --list-media --list-url`
|
||||
|
||||
- Search for a package printing [g]roup, version and [r]elease:
|
||||
- Search for a package printing [g]roup, version, and [r]elease:
|
||||
|
||||
`urpmq -g -r {{[-y|--fuzzy]}} {{keyword}}`
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# utmpdump
|
||||
|
||||
> Dump and load btmp, utmp and wtmp accounting files.
|
||||
> Dump and load btmp, utmp, and wtmp accounting files.
|
||||
> More information: <https://manned.org/utmpdump>.
|
||||
|
||||
- Dump the `/var/log/wtmp` file to `stdout` as plain text:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# virt-viewer
|
||||
|
||||
> Minimal graphical interface for a virtual machine (VM).
|
||||
> Note: `domain` refers to the name, UUID or ID for the existing VMs.
|
||||
> Note: `domain` refers to the name, UUID, or ID for the existing VMs.
|
||||
> See also: `virsh`.
|
||||
> More information: <https://manned.org/virt-viewer>.
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
`virt-viewer`
|
||||
|
||||
- Launch `virt-viewer` for a specific virtual machine by ID, UUID or name:
|
||||
- Launch `virt-viewer` for a specific virtual machine by ID, UUID, or name:
|
||||
|
||||
`virt-viewer "{{domain}}"`
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# virt-xml
|
||||
|
||||
> Edit libvirt Domain XML files with explicit command-line options.
|
||||
> Note: `domain` refers to the name, UUID or ID for the existing VMs.
|
||||
> Note: `domain` refers to the name, UUID, or ID for the existing VMs.
|
||||
> See also: `virsh`.
|
||||
> More information: <https://github.com/virt-manager/virt-manager/blob/main/man/virt-xml.rst>.
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# vmstat
|
||||
|
||||
> Report information about processes, memory, paging, block IO, traps, disks and CPU activity.
|
||||
> Report information about processes, memory, paging, block IO, traps, disks, and CPU activity.
|
||||
> More information: <https://manned.org/vmstat>.
|
||||
|
||||
- Display virtual memory statistics:
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
> See also: `which`, `whatis`, `type`.
|
||||
> More information: <https://manned.org/whereis>.
|
||||
|
||||
- Locate binary, source and man pages for SSH:
|
||||
- Locate binary, source, and man pages for SSH:
|
||||
|
||||
`whereis {{ssh}}`
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
`xclock -digital -strftime {{format}}`
|
||||
|
||||
- Display a 24-hour digital clock with the hour, minute and second fields that updates every second:
|
||||
- Display a 24-hour digital clock with the hour, minute, and second fields that updates every second:
|
||||
|
||||
`xclock -digital -strftime '%H:%M:%S' -update 1`
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# security
|
||||
|
||||
> Administer keychains, keys, certificates and the Security framework.
|
||||
> Administer keychains, keys, certificates, and the Security framework.
|
||||
> More information: <https://keith.github.io/xcode-man-pages/security.1.html>.
|
||||
|
||||
- List all available keychains:
|
||||
|
||||
@@ -3,6 +3,6 @@
|
||||
> Import all available keys, subkeys, and values from a `.reg` file.
|
||||
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/reg-import>.
|
||||
|
||||
- Import all keys, subkeys and values from a file:
|
||||
- Import all keys, subkeys, and values from a file:
|
||||
|
||||
`reg import {{path\to\file.reg}}`
|
||||
|
||||
Reference in New Issue
Block a user