diff --git a/tldr/bun-pm-pack b/tldr/bun-pm-pack new file mode 100644 index 00000000..9b416754 --- /dev/null +++ b/tldr/bun-pm-pack @@ -0,0 +1,37 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# bun pm pack + +> Create a `.tgz` archive containing the files that would be published to npm (same behavior as `npm pack`). +> More information: . + +- Create a tarball from the current workspace: + +`bun pm pack` + +- Run all steps without writing the tarball to disk: + +`bun pm pack --dry-run` + +- Save the tarball to a specific directory: + +`bun pm pack --destination {{path/to/directory}}` + +- Set an exact filename for the tarball: + +`bun pm pack --filename {{filename}}` + +- Skip prepack, postpack, and prepare scripts: + +`bun pm pack --ignore-scripts` + +- Set the gzip compression level (0-9, default: 9): + +`bun pm pack --gzip-level 5` + +- Output only the tarball filename and suppress verbose logs: + +`bun pm pack --quiet` diff --git a/tldr/dig b/tldr/dig index ac1e6730..b756865a 100644 --- a/tldr/dig +++ b/tldr/dig @@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # dig > DNS lookup utility. +> See also: `resolvectl`, `nslookup`, `host`. > More information: . - Lookup the IP(s) associated with a hostname (A records): diff --git a/tldr/host b/tldr/host index 2e554cd3..1ef6b976 100644 --- a/tldr/host +++ b/tldr/host @@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # host > Lookup Domain Name Server. +> See also: `dig`, `resolvectl`, `nslookup`. > More information: . - Lookup A, AAAA, and MX records of a domain: diff --git a/tldr/linux/appman b/tldr/linux/appman new file mode 100644 index 00000000..44325c90 --- /dev/null +++ b/tldr/linux/appman @@ -0,0 +1,33 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# appman + +> Package manager for AppImages. +> More information: . + +- Update all packages to the latest available versions: + +`appman {{[-u|update]}}` + +- Search packages via keywords: + +`appman {{[-q|query]}} {{package}}` + +- Install a new package: + +`appman {{[-i|install]}} {{package}}` + +- Remove a package: + +`appman {{[-r|remove]}} {{package}}` + +- List all available packages: + +`appman {{[-l|list]}}` + +- Update AppMan to the latest version available: + +`appman {{[-s|sync]}}` diff --git a/tldr/linux/resolvectl b/tldr/linux/resolvectl index 5cd7066a..b726ab0c 100644 --- a/tldr/linux/resolvectl +++ b/tldr/linux/resolvectl @@ -7,6 +7,7 @@ source: https://github.com/tldr-pages/tldr.git > Resolve domain names, IPv4 and IPv6 addresses, DNS resource records, and services. > Introspect and reconfigure the DNS resolver. +> See also: `dig`, `nslookup`, `host`. > More information: . - Show DNS settings: diff --git a/tldr/nslookup b/tldr/nslookup index 769ebf97..07f75c40 100644 --- a/tldr/nslookup +++ b/tldr/nslookup @@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # nslookup > Query name servers for various domain records. +> See also: `dig`, `resolvectl`, `host`. > More information: . - Query your system's default name server for an IP address (A record) of the domain: diff --git a/tldr/ssh-keygen b/tldr/ssh-keygen index 5dc874ff..8128f7a0 100644 --- a/tldr/ssh-keygen +++ b/tldr/ssh-keygen @@ -15,19 +15,19 @@ source: https://github.com/tldr-pages/tldr.git - Generate an ed25519 key with 32 key derivation function rounds and save the key to a specific file: -`ssh-keygen -t {{ed25519}} -a {{32}} -f {{~/.ssh/filename}}` +`ssh-keygen -t ed25519 -a 32 -f {{~/.ssh/filename}}` - Generate an RSA 4096-bit key with email as a comment: -`ssh-keygen -t {{rsa}} -b {{4096}} -C "{{comment|email}}"` +`ssh-keygen -t rsa -b 4096 -C "{{comment|email}}"` -- Remove the keys of a host from the known_hosts file (useful when a known host has a new key): +- Remove the keys of a host from the `known_hosts` file (useful when a known host has a new key): `ssh-keygen -R {{remote_host}}` - Retrieve the fingerprint of a key in MD5 Hex: -`ssh-keygen -l -E {{md5}} -f {{~/.ssh/filename}}` +`ssh-keygen -l -E md5 -f {{~/.ssh/filename}}` - Change the password of a key: @@ -35,8 +35,8 @@ source: https://github.com/tldr-pages/tldr.git - Change the type of the key format (for example from OPENSSH format to PEM), the file will be rewritten in-place: -`ssh-keygen -p -N "" -m {{PEM}} -f {{~/.ssh/OpenSSH_private_key}}` +`ssh-keygen -p -m PEM -f {{~/.ssh/OpenSSH_private_key}}` -- Retrieve public key from secret key: +- Retrieve public key from private key: `ssh-keygen -y -f {{~/.ssh/OpenSSH_private_key}}`