summaryrefslogtreecommitdiff
path: root/Base/usr
diff options
context:
space:
mode:
authorEdward Banner <edward.banner@gmail.com>2022-12-13 11:02:52 -0500
committerLinus Groh <mail@linusgroh.de>2022-12-15 12:09:43 +0000
commita3423f2af29818683faaade5bd9f28d0a824cb3b (patch)
tree29ec10ddf825aafbab28e350ac29fbc26fe22fa7 /Base/usr
parentbd40464195fe25c61dc3b64525bde9d46ddfcd9d (diff)
downloadserenity-a3423f2af29818683faaade5bd9f28d0a824cb3b.zip
Base: Add man page for the dd command
Base: Add man page for the dd command
Diffstat (limited to 'Base/usr')
-rw-r--r--Base/usr/share/man/man1/dd.md30
1 files changed, 30 insertions, 0 deletions
diff --git a/Base/usr/share/man/man1/dd.md b/Base/usr/share/man/man1/dd.md
new file mode 100644
index 0000000000..422d102d61
--- /dev/null
+++ b/Base/usr/share/man/man1/dd.md
@@ -0,0 +1,30 @@
+## Name
+
+dd - copy blocks of data
+
+## Synopsis
+
+```**sh
+$ dd if=[input_file] of=[output_file] [args...]
+```
+
+## Description
+
+`dd` is an application used to write blocks of data from one file to another. A common use case for `dd` is to make a bootable hard drive from a ISO file.
+
+## Options
+
+* `--help`: Display help message and exit
+
+## Arguments
+
+* `if`: input file (or device) to read from
+* `of`: output file (or device) to write to
+* `bs`: block size (of bytes) to use
+* `count`: number of blocks to write
+
+## Examples
+
+```**sh
+$ dd if=/dev/zero of=./zeros bs=1M count=1
+```