diff --git a/tldr/cidr b/tldr/cidr new file mode 100644 index 00000000..198e87c1 --- /dev/null +++ b/tldr/cidr @@ -0,0 +1,29 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# cidr + +> Simplifies IPv4/IPv6 CIDR network prefix management with counting, overlap checking, explanation, and subdivision. +> More information: . + +- Explain a CIDR range: + +`cidr explain {{10.0.0.0/16}}` + +- Check whether an address belongs to a CIDR range: + +`cidr contains {{10.0.0.0/16}} {{10.0.14.5}}` + +- Get a count of all addresses in a CIDR range: + +`cidr count {{10.0.0.0/16}}` + +- Check whether two CIDR ranges overlap: + +`cidr overlaps {{10.0.0.0/16}} {{10.0.14.0/22}}` + +- Divide a CIDR range into a specific number of networks: + +`cidr divide {{10.0.0.0/16}} {{9}}` diff --git a/tldr/linux/grub2-mkpasswd-pbkdf2 b/tldr/linux/grub2-mkpasswd-pbkdf2 new file mode 100644 index 00000000..9bcb9825 --- /dev/null +++ b/tldr/linux/grub2-mkpasswd-pbkdf2 @@ -0,0 +1,13 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# grub2-mkpasswd-pbkdf2 + +> Generate a hashed password for GRUB. +> More information: . + +- Create a password hash for GRUB 2 using PBKDF2 and print it to `stdout`: + +`sudo grub2-mkpasswd-pbkdf2 {{-c|--iteration-count}} {{number_of_pbkdf2_iterations}} {{-s|--salt}} {{salt_length}}` diff --git a/tldr/ls b/tldr/ls index 7deef201..87e5a863 100644 --- a/tldr/ls +++ b/tldr/ls @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # ls > List directory contents. -> More information: . +> More information: . - List files one per line: