diff --git a/tldr/docker-pull b/tldr/docker-pull index 4435bc82..8f038dde 100644 --- a/tldr/docker-pull +++ b/tldr/docker-pull @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # docker pull > Download Docker images from a registry. -> More information: . +> More information: . - Download a specific Docker image: diff --git a/tldr/dtc b/tldr/dtc new file mode 100644 index 00000000..c8668ee5 --- /dev/null +++ b/tldr/dtc @@ -0,0 +1,13 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# dtc + +> The Device Tree Compiler, a tool for recompiling device trees between formats. +> More information: . + +- Decompile a `.dtb` file into a readable `.dts` file: + +`dtc -I dtb -O dts -o {{path/to/output_file.dts}} {{path/to/input_file.dtb}}` diff --git a/tldr/fastd b/tldr/fastd index a8d5433c..de105f44 100644 --- a/tldr/fastd +++ b/tldr/fastd @@ -7,6 +7,7 @@ source: https://github.com/tldr-pages/tldr.git > VPN daemon. > Works on Layer 2 or Layer 3, supports different encryption methods, used by Freifunk. +> See also: `ivpn`, `mozillavpn`, `mullvad`, `warp-cli`. > More information: . - Start `fastd` with a specific configuration file: @@ -21,7 +22,7 @@ source: https://github.com/tldr-pages/tldr.git `fastd --verify-config --config {{path/to/fastd.conf}}` -- Generate a new key: +- Generate a new keypair: `fastd --generate-key` diff --git a/tldr/ffsend b/tldr/ffsend index 5967f8d2..69ecda62 100644 --- a/tldr/ffsend +++ b/tldr/ffsend @@ -18,12 +18,12 @@ source: https://github.com/tldr-pages/tldr.git - Upload a file with password: -`ffsend upload {{path/to/file}} -p {{password}}` +`ffsend upload {{path/to/file}} {{-p|--password}} {{password}}` - Download a file protected by password: -`ffsend download {{path/to/file}} -p {{password}}` +`ffsend download {{url}} {{-p|--password}} {{password}}` - Upload a file and allow 4 downloads: -`ffsend upload {{path/to/file}} -d {{4}}` +`ffsend upload {{path/to/file}} {{-d|--downloads}} {{4}}` diff --git a/tldr/fping b/tldr/fping index 5d120965..986c9974 100644 --- a/tldr/fping +++ b/tldr/fping @@ -10,12 +10,12 @@ source: https://github.com/tldr-pages/tldr.git - List alive hosts within a subnet generated from a netmask: -`fping -a -g 192.168.1.0/24` +`fping {{-a|--alive}} {{-g|--generate}} 192.168.1.0/24` - List alive hosts within a subnet generated from an IP range: -`fping -a -g 192.168.1.1 192.168.1.254` +`fping {{-a|--alive}} {{-g|--generate}} 192.168.1.1 192.168.1.254` - List unreachable hosts within a subnet generated from a netmask: -`fping -u -g 192.168.1.0/24` +`fping {{-u|--unreach}} {{-g|--generate}} 192.168.1.0/24` diff --git a/tldr/git-reflog b/tldr/git-reflog index af5a0cb4..273aa4d9 100644 --- a/tldr/git-reflog +++ b/tldr/git-reflog @@ -18,4 +18,4 @@ source: https://github.com/tldr-pages/tldr.git - Show only the 5 latest entries in the reflog: -`git reflog {{-n|--dry-run}} {{5}}` +`git reflog {{-n|--max-count}} 5` diff --git a/tldr/gitstats b/tldr/gitstats index af265825..4c1642fa 100644 --- a/tldr/gitstats +++ b/tldr/gitstats @@ -10,8 +10,8 @@ source: https://github.com/tldr-pages/tldr.git - Generate statistics for a local repository: -`gitstats {{path/to/gitrepo/.git}} {{path/to/output_folder}}` +`gitstats {{path/to/git_repo/.git}} {{path/to/output_folder}}` -- View generated statistics in a web browser: +- View generated statistics in a web browser on Windows (PowerShell)/macOS/Linux: -`xdg-open {{path/to/output_folder/index.html}}` +`{{Invoke-Item|open|xdg-open}} {{path/to/output_folder/index.html}}` diff --git a/tldr/ivpn b/tldr/ivpn index 07e0de83..7c7bd0b1 100644 --- a/tldr/ivpn +++ b/tldr/ivpn @@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # ivpn > Command-line interface for the IVPN client. +> See also: `fastd`, `mozillavpn`, `mullvad`, `warp-cli`. > More information: . - Print the current state of IVPN, including the connection and firewall status: diff --git a/tldr/linux/df b/tldr/linux/df index a70dbf23..72bb1e1f 100644 --- a/tldr/linux/df +++ b/tldr/linux/df @@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git - Display all filesystems and their disk usage in human-readable form: -`df -h` +`df {{-h|--human-readable}}` - Display the filesystem and its disk usage containing the given file or directory: @@ -22,8 +22,12 @@ source: https://github.com/tldr-pages/tldr.git - Include statistics on the number of free inodes: -`df -i` +`df {{-i|--inodes}}` - Display filesystems but exclude the specified types: -`df -x {{squashfs}} -x {{tmpfs}}` +`df {{-x|--exclude-type}} {{squashfs}} {{-x|--exclude-type}} {{tmpfs}}` + +- Display filesystem types: + +`df {{-T|--print-type}}` diff --git a/tldr/linux/dnf5 b/tldr/linux/dnf5 index 1a8d4730..a56dfd80 100644 --- a/tldr/linux/dnf5 +++ b/tldr/linux/dnf5 @@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git > Package management utility for RHEL, Fedora, and CentOS (it replaces dnf, which in turn replaced yum). > DNF5 is a C++ rewrite of the DNF package manager featuring improved performance and a smaller size. > For equivalent commands in other package managers, see . -> More information: . +> More information: . - Upgrade installed packages to the newest available versions: diff --git a/tldr/linux/dos2unix b/tldr/linux/dos2unix index feb7561b..7d5bd4f0 100644 --- a/tldr/linux/dos2unix +++ b/tldr/linux/dos2unix @@ -16,11 +16,11 @@ source: https://github.com/tldr-pages/tldr.git - Create a copy with Unix-style line endings: -`dos2unix -n {{path/to/file}} {{path/to/new_file}}` +`dos2unix {{-n|--newfile}} {{path/to/file}} {{path/to/new_file}}` - Display file information: -`dos2unix -i {{path/to/file}}` +`dos2unix {{-i|--info}} {{path/to/file}}` - Keep/add/remove Byte Order Mark: diff --git a/tldr/linux/mac2unix b/tldr/linux/mac2unix index 484183f4..57250f38 100644 --- a/tldr/linux/mac2unix +++ b/tldr/linux/mac2unix @@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git > Change macOS-style line endings to Unix-style. > Replaces CR with LF. > See also `unix2dos`, `unix2mac`, and `dos2unix`. -> More information: . +> More information: . - Change the line endings of a file: @@ -16,11 +16,11 @@ source: https://github.com/tldr-pages/tldr.git - Create a copy with Unix-style line endings: -`mac2unix -n {{path/to/file}} {{path/to/new_file}}` +`mac2unix {{-n|--newfile}} {{path/to/file}} {{path/to/new_file}}` - Display file information: -`mac2unix -i {{path/to/file}}` +`mac2unix {{-i|--info}} {{path/to/file}}` - Keep/add/remove Byte Order Mark: diff --git a/tldr/linux/unix2dos b/tldr/linux/unix2dos index 8f1faeef..c3751f95 100644 --- a/tldr/linux/unix2dos +++ b/tldr/linux/unix2dos @@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git > Change Unix-style line endings to DOS-style. > Replaces LF with CRLF. > See also `unix2mac`, `dos2unix`, and `mac2unix`. -> More information: . +> More information: . - Change the line endings of a file: @@ -16,11 +16,11 @@ source: https://github.com/tldr-pages/tldr.git - Create a copy with DOS-style line endings: -`unix2dos -n {{path/to/file}} {{path/to/new_file}}` +`unix2dos {{-n|--newfile}} {{path/to/file}} {{path/to/new_file}}` - Display file information: -`unix2dos -i {{path/to/file}}` +`unix2dos {{-i|--info}} {{path/to/file}}` - Keep/add/remove Byte Order Mark: diff --git a/tldr/linux/unix2mac b/tldr/linux/unix2mac index f648f2c9..c41f2fc3 100644 --- a/tldr/linux/unix2mac +++ b/tldr/linux/unix2mac @@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git > Change Unix-style line endings to macOS-style. > Replaces LF with CR. > See also `unix2dos`, `dos2unix`, and `mac2unix`. -> More information: . +> Informasi lebih lanjut: . - Change the line endings of a file: @@ -16,11 +16,11 @@ source: https://github.com/tldr-pages/tldr.git - Create a copy with macOS-style line endings: -`unix2mac -n {{path/to/file}} {{path/to/new_file}}` +`unix2mac {{-n|--newfile}} {{path/to/file}} {{path/to/new_file}}` - Display file information: -`unix2mac -i {{path/to/file}}` +`unix2mac {{-i|--info}} {{path/to/file}}` - Keep/add/remove Byte Order Mark: diff --git a/tldr/mozillavpn b/tldr/mozillavpn index 5d9ba76f..4af517c2 100644 --- a/tldr/mozillavpn +++ b/tldr/mozillavpn @@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # mozillavpn > A Virtual Private Network from the makers of Firefox. +> See also: `fastd`, `ivpn`, `mullvad`, `warp-cli`. > More information: . - Log in with an interactive prompt: diff --git a/tldr/mullvad b/tldr/mullvad index 173ff757..4c7e9f59 100644 --- a/tldr/mullvad +++ b/tldr/mullvad @@ -6,9 +6,10 @@ source: https://github.com/tldr-pages/tldr.git # mullvad > CLI client for Mullvad VPN. +> See also: `fastd`, `ivpn`, `mozillavpn`, `warp-cli`. > More information: . -- Link your mullvad account with the specified account number: +- Link your Mullvad account with the specified account number: `mullvad account set {{account_number}}` diff --git a/tldr/osx/safeejectgpu b/tldr/osx/safeejectgpu index 3e295209..aee197a0 100644 --- a/tldr/osx/safeejectgpu +++ b/tldr/osx/safeejectgpu @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # SafeEjectGPU > Eject a GPU safely. -> More information: . +> More information: . - Eject all GPUs: diff --git a/tldr/warp-cli b/tldr/warp-cli index dd88f63a..3b462e82 100644 --- a/tldr/warp-cli +++ b/tldr/warp-cli @@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git > 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`, `mozzilavpn`, `mullvad`. +> See also: `fastd`, `ivpn`, `mozillavpn`, `mullvad`. > More information: . - Register the current device to WARP (must be run before first connection): diff --git a/tldr/windows/exit b/tldr/windows/exit index 8bd033d9..ea58018f 100644 --- a/tldr/windows/exit +++ b/tldr/windows/exit @@ -12,7 +12,7 @@ source: https://github.com/tldr-pages/tldr.git `exit` -- Quit the current batch script: +- Quit the current [b]atch script: `exit /b`