diff --git a/tldr/ansiweather b/tldr/ansiweather index bbc8b2ce..e3f049af 100644 --- a/tldr/ansiweather +++ b/tldr/ansiweather @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # ansiweather -> A shell script for displaying the current weather conditions in your terminal. +> Display the current weather conditions in your terminal. > More information: . - Display a [f]orecast using metric [u]nits for the next seven days for a specific [l]ocation: diff --git a/tldr/apkleaks b/tldr/apkleaks index 991be457..b8380ea8 100644 --- a/tldr/apkleaks +++ b/tldr/apkleaks @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # apkleaks -> An APK file scanner for exposing URIs, endpoints, and secrets. +> Expose URIs, endpoints, and secrets from APK files. > Note: APKLeaks utilizes the `jadx` disassembler to decompile APK files. > More information: . diff --git a/tldr/dcfldd b/tldr/dcfldd index 259e4ff2..921ef149 100644 --- a/tldr/dcfldd +++ b/tldr/dcfldd @@ -10,8 +10,8 @@ source: https://github.com/tldr-pages/tldr.git - Copy a disk to a raw image file and hash the image using SHA256: -`dcfldd if=/dev/{{disk_device}} of={{file.img}} hash=sha256 hashlog={{file.hash}}` +`dcfldd if={{/dev/disk_device}} of={{file.img}} hash=sha256 hashlog={{file.hash}}` - Copy a disk to a raw image file, hashing each 1 GB chunk: -`dcfldd if=/dev/{{disk_device}} of={{file.img}} hash={{sha512|sha384|sha256|sha1|md5}} hashlog={{file.hash}} hashwindow={{1G}}` +`dcfldd if={{/dev/disk_device}} of={{file.img}} hash={{sha512|sha384|sha256|sha1|md5}} hashlog={{file.hash}} hashwindow={{1G}}` diff --git a/tldr/freebsd/look b/tldr/freebsd/look index c1e00c89..ab17e795 100644 --- a/tldr/freebsd/look +++ b/tldr/freebsd/look @@ -15,11 +15,11 @@ source: https://github.com/tldr-pages/tldr.git - Case-insensitively search only on alphanumeric characters: -`look -{{f|-ignore-case}} -{{d|-alphanum}} {{prefix}} {{path/to/file}}` +`look {{-f|--ignore-case}} {{-d|--alphanum}} {{prefix}} {{path/to/file}}` -- Specify a string [t]ermination character (space by default): +- Specify a string termination character (space by default): -`look -{{t|-terminate}} {{,}}` +`look {{-t|--terminate}} {{,}}` - Search in `/usr/share/dict/words` (`--ignore-case` and `--alphanum` are assumed): diff --git a/tldr/linux/blkdiscard b/tldr/linux/blkdiscard index bf727479..05766c98 100644 --- a/tldr/linux/blkdiscard +++ b/tldr/linux/blkdiscard @@ -10,12 +10,12 @@ source: https://github.com/tldr-pages/tldr.git - Discard all sectors on a device, removing all data: -`blkdiscard /dev/{{device}}` +`blkdiscard {{/dev/device}}` - Securely discard all blocks on a device, removing all data: -`blkdiscard --secure /dev/{{device}}` +`blkdiscard --secure {{/dev/device}}` - Discard the first 100 MB of a device: -`blkdiscard --length {{100MB}} /dev/{{device}}` +`blkdiscard --length {{100MB}} {{/dev/device}}` diff --git a/tldr/linux/hdparm b/tldr/linux/hdparm index 6f34832f..a588a348 100644 --- a/tldr/linux/hdparm +++ b/tldr/linux/hdparm @@ -10,23 +10,23 @@ source: https://github.com/tldr-pages/tldr.git - Request the identification info of a given device: -`sudo hdparm -I /dev/{{device}}` +`sudo hdparm -I {{/dev/device}}` - Get the Advanced Power Management level: -`sudo hdparm -B /dev/{{device}}` +`sudo hdparm -B {{/dev/device}}` - Set the Advanced Power Management value (values 1-127 permit spin-down, and values 128-254 do not): -`sudo hdparm -B {{1}} /dev/{{device}}` +`sudo hdparm -B {{1}} {{/dev/device}}` - Display the device's current power mode status: -`sudo hdparm -C /dev/{{device}}` +`sudo hdparm -C {{/dev/device}}` - Force a drive to immediately enter standby mode (usually causes a drive to spin down): -`sudo hdparm -y /dev/{{device}}` +`sudo hdparm -y {{/dev/device}}` - Put the drive into idle (low-power) mode, also setting its standby timeout: diff --git a/tldr/linux/look b/tldr/linux/look index 425e94fa..5b7f1429 100644 --- a/tldr/linux/look +++ b/tldr/linux/look @@ -16,11 +16,11 @@ source: https://github.com/tldr-pages/tldr.git - Case-insensitively search only on blank and alphanumeric characters: -`look -{{f|-ignore-case}} -{{d|-alphanum}} {{prefix}} {{path/to/file}}` +`look {{-f|--ignore-case}} {{-d|--alphanum}} {{prefix}} {{path/to/file}}` -- Specify a string [t]ermination character (space by default): +- Specify a string termination character (space by default): -`look -{t|-terminate} {{,}}` +`look {{-t|--terminate}} {{,}}` - Search in `/usr/share/dict/words` (`--ignore-case` and `--alphanum` are assumed): @@ -28,4 +28,4 @@ source: https://github.com/tldr-pages/tldr.git - Search in `/usr/share/dict/web2` (`--ignore-case` and `--alphanum` are assumed): -`look -{{a|-alternative}} {{prefix}}` +`look {{-a|--alternative}} {{prefix}}` diff --git a/tldr/linux/losetup b/tldr/linux/losetup index 03a68820..d989cd64 100644 --- a/tldr/linux/losetup +++ b/tldr/linux/losetup @@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git - Attach a file to a given loop device: -`sudo losetup /dev/{{loop}} /{{path/to/file}}` +`sudo losetup {{/dev/loop}} /{{path/to/file}}` - Attach a file to a new free loop device and scan the device for partitions: @@ -22,7 +22,7 @@ source: https://github.com/tldr-pages/tldr.git - Attach a file to a read-only loop device: -`sudo losetup --read-only /dev/{{loop}} /{{path/to/file}}` +`sudo losetup --read-only {{/dev/loop}} /{{path/to/file}}` - Detach all loop devices: @@ -30,4 +30,4 @@ source: https://github.com/tldr-pages/tldr.git - Detach a given loop device: -`sudo losetup -d /dev/{{loop}}` +`sudo losetup -d {{/dev/loop}}` diff --git a/tldr/linux/mlabel b/tldr/linux/mlabel index d80f14d8..feb24f19 100644 --- a/tldr/linux/mlabel +++ b/tldr/linux/mlabel @@ -10,4 +10,4 @@ source: https://github.com/tldr-pages/tldr.git - Set a filesystem label: -`mlabel -i /dev/{{sda}} ::"{{new_label}}"` +`mlabel -i {{/dev/sda}} ::"{{new_label}}"` diff --git a/tldr/linux/wodim b/tldr/linux/wodim index c1ba0130..b3997a58 100644 --- a/tldr/linux/wodim +++ b/tldr/linux/wodim @@ -15,12 +15,12 @@ source: https://github.com/tldr-pages/tldr.git - Record ("burn") an audio-only disc: -`wodim dev=/dev/{{optical_drive}} -audio {{track*.cdaudio}}` +`wodim dev={{/dev/optical_drive}} -audio {{track*.cdaudio}}` - Burn a file to a disc, ejecting the disc once done (some recorders require this): -`wodim -eject dev=/dev/{{optical_drive}} -data {{file.iso}}` +`wodim -eject dev={{/dev/optical_drive}} -data {{file.iso}}` - Burn a file to the disc in an optical drive, potentially writing to multiple discs in succession: -`wodim -tao dev=/dev/{{optical_drive}} -data {{file.iso}}` +`wodim -tao dev={{/dev/optical_drive}} -data {{file.iso}}` diff --git a/tldr/linux/zbarcam b/tldr/linux/zbarcam index bda64864..15754e49 100644 --- a/tldr/linux/zbarcam +++ b/tldr/linux/zbarcam @@ -22,4 +22,4 @@ source: https://github.com/tldr-pages/tldr.git - Define capture device: -`zbarcam /dev/{{video_device}}` +`zbarcam {{/dev/video_device}}` diff --git a/tldr/mpv b/tldr/mpv index ffe5156f..beabff58 100644 --- a/tldr/mpv +++ b/tldr/mpv @@ -39,4 +39,4 @@ source: https://github.com/tldr-pages/tldr.git - Display the output of webcam or other video input device: -`mpv /dev/{{video0}}` +`mpv {{/dev/video0}}` diff --git a/tldr/osx/look b/tldr/osx/look index 625f1558..076cabe7 100644 --- a/tldr/osx/look +++ b/tldr/osx/look @@ -15,11 +15,11 @@ source: https://github.com/tldr-pages/tldr.git - Case-insensitively search only on alphanumeric characters: -`look -{{f|-ignore-case}} -{{d|-alphanum}} {{prefix}} {{path/to/file}}` +`look {{-f|--ignore-case}} {{-d|--alphanum}} {{prefix}} {{path/to/file}}` -- Specify a string [t]ermination character (space by default): +- Specify a string termination character (space by default): -`look -{{t|-terminate}} {{,}}` +`look {{-t|--terminate}} {{,}}` - Search in `/usr/share/dict/words` (`--ignore-case` and `--alphanum` are assumed): diff --git a/tldr/qemu b/tldr/qemu index 568273df..80319f5e 100644 --- a/tldr/qemu +++ b/tldr/qemu @@ -27,4 +27,4 @@ source: https://github.com/tldr-pages/tldr.git - Boot from physical device (e.g. from USB to test bootable medium): -`qemu-system-i386 -hda /dev/{{storage_device}}` +`qemu-system-i386 -hda {{/dev/storage_device}}`