diff --git a/tldr/ifdata b/tldr/ifdata index 8091975e..94f70311 100644 --- a/tldr/ifdata +++ b/tldr/ifdata @@ -16,11 +16,11 @@ source: https://github.com/tldr-pages/tldr.git `ifdata -e {{eth0}}` -- [p]rint the IPv4 [a]dress and the [n]etmask of the specified interface: +- [p]rint the IPv4 [a]ddress and the [n]etmask of the specified interface: `ifdata -pa -pn {{eth0}}` -- [p]rint the [N]etwork adress, the [b]roadcast adress, and the [m]TU of the specified interface: +- [p]rint the [N]etwork address, the [b]roadcast adress, and the [m]TU of the specified interface: `ifdata -pN -pb -pm {{eth0}}` diff --git a/tldr/linux/apptainer-registry b/tldr/linux/apptainer-registry new file mode 100644 index 00000000..18a6fcd0 --- /dev/null +++ b/tldr/linux/apptainer-registry @@ -0,0 +1,42 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# apptainer registry + +> Manage authentication to OCI/Docker registries. +> See also: `apptainer pull`, `apptainer push`. +> More information: . + +- List all configured registry credentials: + +`apptainer registry list` + +- Log in to a registry with a username (password will be prompted): + +`apptainer registry login {{[-u|--username]}} {{username}} docker://{{registry}}` + +- Log in to a custom OCI registry: + +`apptainer registry login {{[-u|--username]}} {{username}} oras://{{registry}}` + +- Log in with username and password: + +`apptainer registry login {{[-u|--username]}} {{username}} {{[-p|--password]}} {{password}} docker://{{registry}}` + +- Log in with a password from `stdin`: + +`echo "{{password}}" | apptainer registry login {{[-u|--username]}} {{username}} --password-stdin docker://{{registry}}` + +- Log in using a custom authentication file: + +`apptainer registry login --authfile {{path/to/auth.json}} {{[-u|--username]}} {{username}} docker://{{registry}}` + +- Log out from a registry: + +`apptainer registry logout docker://{{registry}}` + +- Log out using a custom authentication file: + +`apptainer registry logout --authfile {{path/to/auth.json}} docker://{{registry}}` diff --git a/tldr/oxipng b/tldr/oxipng index f8d912e5..c72e23d9 100644 --- a/tldr/oxipng +++ b/tldr/oxipng @@ -24,9 +24,9 @@ source: https://github.com/tldr-pages/tldr.git `oxipng {{[-o|--opt]}} {{0|1|2|3|4|5|6|max}} {{path/to/file.png}}` -- Set the PNG interlacing type (`0` removes interlacing, `1` applies Adam7 interlacing, `keep` preserves existing interlacing; default is `0`): +- Set the PNG interlacing type (`off` removes interlacing, `on` applies Adam7 interlacing, `keep` preserves existing interlacing; default is `off`): -`oxipng {{[-i|--interlace]}} {{0|1|keep}} {{path/to/file.png}}` +`oxipng {{[-i|--interlace]}} {{off|on|keep}} {{path/to/file.png}}` - Perform additional optimization on images with an alpha channel: @@ -34,7 +34,7 @@ source: https://github.com/tldr-pages/tldr.git - Use the much slower but stronger Zopfli compressor with max optimization: -`oxipng {{[-Z|--zopfli]}} {{[-o|--opt]}} max {{path/to/file.png}}` +`oxipng {{[-z|--zopfli]}} {{[-o|--opt]}} max {{path/to/file.png}}` - Strip all non-critical metadata chunks: