diff --git a/tldr/dd b/tldr/dd index 0a517d67..9fcfe502 100644 --- a/tldr/dd +++ b/tldr/dd @@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git - Clone a drive to another drive with 4 MiB block size and flush writes before the command terminates: -`dd bs={{4194304}} conv={{fsync}} if=/dev/{{source_drive}} of=/dev/{{dest_drive}}` +`dd bs=4194304 conv=fsync if=/dev/{{source_drive}} of=/dev/{{dest_drive}}` - Generate a file with a specific number of random bytes by using kernel random driver: diff --git a/tldr/linux/dd b/tldr/linux/dd index 6f088c5f..686054f7 100644 --- a/tldr/linux/dd +++ b/tldr/linux/dd @@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git - Clone a drive to another drive with 4 MiB block size and flush writes before the command terminates: -`dd bs={{4M}} conv={{fsync}} if={{/dev/source_drive}} of={{/dev/dest_drive}}` +`dd bs=4M conv=fsync if={{/dev/source_drive}} of={{/dev/dest_drive}}` - Generate a file with a specific number of random bytes by using kernel random driver: @@ -28,6 +28,6 @@ source: https://github.com/tldr-pages/tldr.git `dd if={{/dev/drive_device}} of={{path/to/file.img}}` -- Check the progress of an ongoing dd operation (run this command from another shell): +- Check the progress of an ongoing `dd` operation (run this command from another shell): `kill -USR1 $(pgrep -x dd)` diff --git a/tldr/osx/date b/tldr/osx/date index 14d28441..1674d900 100644 --- a/tldr/osx/date +++ b/tldr/osx/date @@ -22,4 +22,4 @@ source: https://github.com/tldr-pages/tldr.git - Display a specific date (represented as a Unix timestamp) using the default format: -`date -r 1473305798` +`date -r {{1473305798}}` diff --git a/tldr/osx/dd b/tldr/osx/dd index 0ba5c92c..892e3003 100644 --- a/tldr/osx/dd +++ b/tldr/osx/dd @@ -14,11 +14,11 @@ source: https://github.com/tldr-pages/tldr.git - Clone a drive to another drive with 4 MB block, ignore error and show the progress: -`dd if={{/dev/source_device}} of={{/dev/dest_device}} bs={{4m}} conv={{noerror}} status=progress` +`dd if={{/dev/source_device}} of={{/dev/dest_device}} bs=4m conv=noerror status=progress` - Generate a file of 100 random bytes by using kernel random driver: -`dd if=/dev/urandom of={{path/to/random_file}} bs={{100}} count={{1}}` +`dd if=/dev/urandom of={{path/to/random_file}} bs=100 count={{1}}` - Benchmark the write performance of a disk: @@ -32,6 +32,6 @@ source: https://github.com/tldr-pages/tldr.git `dd if={{path/to/file.img}} of={{/dev/drive_device}} status=progress` -- Check the progress of an ongoing dd operation (run this command from another shell): +- Check the progress of an ongoing `dd` operation (run this command from another shell): `kill -USR1 $(pgrep ^dd)` diff --git a/tldr/typeinc b/tldr/typeinc index f9b6ceb0..caa3ef6c 100644 --- a/tldr/typeinc +++ b/tldr/typeinc @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # typeinc -> An `ncurses` based terminal typing speed test program, written in python. +> An `ncurses` based terminal typing speed test program, written in Python. > Try out different difficulty levels and improve your typing speed. > More information: . @@ -13,14 +13,14 @@ source: https://github.com/tldr-pages/tldr.git `typeinc` -- Display the top 10 [r]anklist for input difficulty level: +- Display the top 10 rank list for input difficulty level: -`typeinc --ranklist {{difficulty_level}}` +`typeinc {{-r|--ranklist}} {{difficulty_level}}` -- Get random English [w]ords present in our wordlist: +- Get random English words present in our wordlist: -`typeinc --words {{word_count}}` +`typeinc {{-w|--words}} {{word_count}}` -- Calculate hypothetical Typeinc [s]core: +- Calculate hypothetical Typeinc score: -`typeinc --score` +`typeinc {{-s|--score}}`