diff --git a/tldr/az-storage-account b/tldr/az-storage-account index f4d316cf..d4fcd9f4 100644 --- a/tldr/az-storage-account +++ b/tldr/az-storage-account @@ -9,7 +9,7 @@ source: https://github.com/tldr-pages/tldr.git > Part of `azure-cli` (also known as `az`). > More information: . -- Create an storage account: +- Create a storage account: `az storage account create {{[-n|--name]}} {{storage_account_name}} {{[-g|--resource-group]}} {{azure_resource_group}} --location {{azure_location}} --sku {{storage_account_sku}}` diff --git a/tldr/dos/boot b/tldr/dos/boot new file mode 100644 index 00000000..2b536954 --- /dev/null +++ b/tldr/dos/boot @@ -0,0 +1,21 @@ +--- +syntax: markdown +tags: [tldr, dos] +source: https://github.com/tldr-pages/tldr.git +--- +# BOOT + +> Boot floppy or hard disk images directly, bypassing OS emulation. +> More information: . + +- Boot from floppy image: + +`BOOT {{path/to/floppy.img}}` + +- Boot from hard disk image: + +`BOOT {{path/to/hard_disk.img}}` + +- Boot multiple floppy images: + +`BOOT {{path/to/floppy1.img path/to/floppy2.img ...}}` diff --git a/tldr/dos/choice b/tldr/dos/choice new file mode 100644 index 00000000..32ecf1cb --- /dev/null +++ b/tldr/dos/choice @@ -0,0 +1,13 @@ +--- +syntax: markdown +tags: [tldr, dos] +source: https://github.com/tldr-pages/tldr.git +--- +# CHOICE + +> Wait for keypress and set `ERRORLEVEL` in batch scripts. +> More information: . + +- Prompt for yes/no: + +`CHOICE "{{prompt}}"` diff --git a/tldr/dos/config b/tldr/dos/config new file mode 100644 index 00000000..57c6b740 --- /dev/null +++ b/tldr/dos/config @@ -0,0 +1,33 @@ +--- +syntax: markdown +tags: [tldr, dos] +source: https://github.com/tldr-pages/tldr.git +--- +# CONFIG + +> Change or query DOSBox settings at runtime; save configs/languages. +> More information: . + +- Write current config to file (local drive): + +`CONFIG -writeconf {{path/to/file.conf}}` + +- Write current language strings to file: + +`CONFIG -writelang {{path/to/file.lang}}` + +- Enable secure mode (disables MOUNT/IMGMOUNT/BOOT): + +`CONFIG -securemode` + +- Set a property (e.g., CPU cycles): + +`CONFIG -set "cpu cycles={{10000}}"` + +- Set property (e.g., disable EMS): + +`CONFIG -set "dos ems=off"` + +- Get property value (stored in %CONFIG%): + +`CONFIG -get "cpu core"` diff --git a/tldr/dos/copy b/tldr/dos/copy new file mode 100644 index 00000000..4573f064 --- /dev/null +++ b/tldr/dos/copy @@ -0,0 +1,13 @@ +--- +syntax: markdown +tags: [tldr, dos] +source: https://github.com/tldr-pages/tldr.git +--- +# COPY + +> Copy files. +> More information: . + +- Copy a file: + +`COPY {{path/to/source_file}} {{path/to/destination_file}}` diff --git a/tldr/dos/del b/tldr/dos/del new file mode 100644 index 00000000..3faaf892 --- /dev/null +++ b/tldr/dos/del @@ -0,0 +1,17 @@ +--- +syntax: markdown +tags: [tldr, dos] +source: https://github.com/tldr-pages/tldr.git +--- +# DEL + +> Delete one or more files. +> More information: . + +- Delete a file: + +`DEL {{path/to/file}}` + +- Delete all files matching a pattern: + +`DEL {{path/to/*.ext}}` diff --git a/tldr/dos/loadfix b/tldr/dos/loadfix new file mode 100644 index 00000000..87f2a228 --- /dev/null +++ b/tldr/dos/loadfix @@ -0,0 +1,21 @@ +--- +syntax: markdown +tags: [tldr, dos] +source: https://github.com/tldr-pages/tldr.git +--- +# LOADFIX + +> Reduce available conventional memory for old programs (default: 64KB). +> More information: . + +- Start a program with 64KB allocated memory: + +`LOADFIX {{program}}` + +- Load with custom KB reduction (1-1024): + +`LOADFIX -{{32}} {{program}}` + +- Free all previously allocated memory: + +`LOADFIX -f` diff --git a/tldr/dos/loadhigh b/tldr/dos/loadhigh new file mode 100644 index 00000000..973baee4 --- /dev/null +++ b/tldr/dos/loadhigh @@ -0,0 +1,13 @@ +--- +syntax: markdown +tags: [tldr, dos] +source: https://github.com/tldr-pages/tldr.git +--- +# LOADHIGH + +> Load program into upper memory (requires `xms=true`, `umb=true`). +> More information: . + +- Load program into upper memory: + +`LOADHIGH {{program}}` diff --git a/tldr/dos/md b/tldr/dos/md new file mode 100644 index 00000000..aa9edbb5 --- /dev/null +++ b/tldr/dos/md @@ -0,0 +1,13 @@ +--- +syntax: markdown +tags: [tldr, dos] +source: https://github.com/tldr-pages/tldr.git +--- +# MD + +> Make a directory. +> More information: . + +- Create directory: + +`MD {{path/to/directory}}` diff --git a/tldr/dos/mem b/tldr/dos/mem new file mode 100644 index 00000000..8258fa5c --- /dev/null +++ b/tldr/dos/mem @@ -0,0 +1,13 @@ +--- +syntax: markdown +tags: [tldr, dos] +source: https://github.com/tldr-pages/tldr.git +--- +# MEM + +> Display free memory info. +> More information: . + +- Display free memory: + +`MEM` diff --git a/tldr/dos/mixer b/tldr/dos/mixer new file mode 100644 index 00000000..0a460121 --- /dev/null +++ b/tldr/dos/mixer @@ -0,0 +1,33 @@ +--- +syntax: markdown +tags: [tldr, dos] +source: https://github.com/tldr-pages/tldr.git +--- +# MIXER + +> Display/set sound levels. +> More information: . + +- Display current volumes: + +`MIXER` + +- Set master volume (left:right percentages): + +`MIXER master {{80}}:{{80}}` + +- Set Sound Blaster volume in decibels: + +`MIXER sb d{{10}}:d{{10}}` + +- Set GUS left channel only: + +`MIXER gus {{50}}` + +- Set volumes without displaying result: + +`MIXER gus {{40}}:{{40}} /NOSHOW` + +- List available MIDI devices (Windows only): + +`MIXER /LISTMIDI` diff --git a/tldr/dos/mount b/tldr/dos/mount new file mode 100644 index 00000000..9290b80b --- /dev/null +++ b/tldr/dos/mount @@ -0,0 +1,37 @@ +--- +syntax: markdown +tags: [tldr, dos] +source: https://github.com/tldr-pages/tldr.git +--- +# MOUNT + +> Mount host directories/drives/images as virtual DOS drives. +> More information: . + +- Mount current directory as C: + +`MOUNT C .` + +- Mount specific directory as C: + +`MOUNT C {{C:\path o\directory}}` + +- Mount with free space limit (MB): + +`MOUNT C {{C:\path o\directory}} -freesize {{1024}}` + +- Mount floppy drive: + +`MOUNT A {{A:\}} -t floppy` + +- Mount CD-ROM drive: + +`MOUNT D {{D:\}} -t cdrom` + +- Mount CD with extra options: + +`MOUNT D {{D:\}} -t cdrom -usecd {{0}} -ioctl` + +- Unmount drive: + +`MOUNT -u {{C}}` diff --git a/tldr/dos/rd b/tldr/dos/rd new file mode 100644 index 00000000..7b31c983 --- /dev/null +++ b/tldr/dos/rd @@ -0,0 +1,13 @@ +--- +syntax: markdown +tags: [tldr, dos] +source: https://github.com/tldr-pages/tldr.git +--- +# RD + +> Remove a directory. +> More information: . + +- Remove directory: + +`RD {{path o\directory}}` diff --git a/tldr/gcloud-iam b/tldr/gcloud-iam index 5f80887b..839eecea 100644 --- a/tldr/gcloud-iam +++ b/tldr/gcloud-iam @@ -13,7 +13,7 @@ source: https://github.com/tldr-pages/tldr.git `gcloud iam list-grantable-roles {{resource}}` -- Create a custom role for a organization or project: +- Create a custom role for an organization or project: `gcloud iam roles create {{role_name}} --{{organization|project}} {{organization|project_id}} --file {{path/to/role.yaml}}` diff --git a/tldr/gdal_contour b/tldr/gdal_contour index bd783bf3..b2db9cff 100644 --- a/tldr/gdal_contour +++ b/tldr/gdal_contour @@ -8,10 +8,10 @@ source: https://github.com/tldr-pages/tldr.git > Create contour lines and polygons from a digital elevation model. > More information: . -- Create a vector dataset with contour lines spread over an 100-meter [i]nterval while [a]ttributing the elevation property as "ele": +- Create a vector dataset with contour lines spread over a 100-meter [i]nterval while [a]ttributing the elevation property as "ele": `gdal_contour -a {{ele}} -i {{100.0}} {{path/to/input.tif}} {{path/to/output.gpkg}}` -- Create a vector dataset with [p]olygons spread over an 100-meter [i]nterval: +- Create a vector dataset with [p]olygons spread over a 100-meter [i]nterval: `gdal_contour -i {{100.0}} -p {{path/to/input.tif}} {{path/to/output.gpkg}}` diff --git a/tldr/git-force-clone b/tldr/git-force-clone index 28bd810f..cf9ea940 100644 --- a/tldr/git-force-clone +++ b/tldr/git-force-clone @@ -13,10 +13,10 @@ source: https://github.com/tldr-pages/tldr.git `git force-clone {{remote_repository_location}} {{path/to/directory}}` -- Clone a Git repository into a new directory, checking out an specific branch: +- Clone a Git repository into a new directory, checking out a specific branch: `git force-clone {{[-b|--branch]}} {{branch_name}} {{remote_repository_location}} {{path/to/directory}}` -- Clone a Git repository into an existing directory of a Git repository, performing a force-reset to resemble it to the remote and checking out an specific branch: +- Clone a Git repository into an existing directory of a Git repository, performing a force-reset to resemble it to the remote and checking out a specific branch: `git force-clone {{[-b|--branch]}} {{branch_name}} {{remote_repository_location}} {{path/to/directory}}` diff --git a/tldr/hledger-balancesheet b/tldr/hledger-balancesheet index 4fb4ce99..0371158e 100644 --- a/tldr/hledger-balancesheet +++ b/tldr/hledger-balancesheet @@ -33,6 +33,6 @@ source: https://github.com/tldr-pages/tldr.git `hledger {{[bs|balancesheet]}} {{[-Qt|--quarterly --tree]}} {{[-2|--depth 2]}}` -- Same as above above, and generate HTML output in `bs.html`: +- Same as above, and generate HTML output in `bs.html`: `hledger {{[bs|balancesheet]}} {{[-Qt|--quarterly --tree]}} {{[-2|--depth 2]}} {{[-o|--output-file]}} bs.html` diff --git a/tldr/huggingface-cli b/tldr/huggingface-cli index fcbd3a5c..b163835a 100644 --- a/tldr/huggingface-cli +++ b/tldr/huggingface-cli @@ -25,7 +25,7 @@ source: https://github.com/tldr-pages/tldr.git `huggingface-cli env` -- Download files from an repository and print out the path (omit filenames to download entire repository): +- Download files from a repository and print out the path (omit filenames to download entire repository): `huggingface-cli download --repo-type {{repo_type}} {{repo_id}} {{filename1 filename2 ...}}` diff --git a/tldr/ifne b/tldr/ifne index a230ebfa..ed8fdbfc 100644 --- a/tldr/ifne +++ b/tldr/ifne @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # ifne -> Run a command depending on the emptyness of `stdin`. +> Run a command depending on the emptiness of `stdin`. > More information: . - Run the specified command if and only if `stdin` is not empty: diff --git a/tldr/less-than-more-than b/tldr/less-than-more-than index fb8d4bbc..0f241bca 100644 --- a/tldr/less-than-more-than +++ b/tldr/less-than-more-than @@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git > Open a file descriptor for read and write. > More information: . -- Open a file in a file descriptor for read an write: +- Open a file in a file descriptor for read and write: `exec {{3}}<>{{path/to/file}}` diff --git a/tldr/linux/gs b/tldr/linux/gs index 6a92c339..c2baece4 100644 --- a/tldr/linux/gs +++ b/tldr/linux/gs @@ -12,7 +12,7 @@ source: https://github.com/tldr-pages/tldr.git `gs -dQUIET -dBATCH {{file.pdf}}` -- Reduce PDF file size to 150 dpi images for reading on a e-book device: +- Reduce PDF file size to 150 dpi images for reading on an e-book device: `gs -dNOPAUSE -dQUIET -dBATCH -sDEVICE=pdfwrite -dPDFSETTINGS=/ebook -sOutputFile={{output.pdf}} {{input.pdf}}` diff --git a/tldr/linux/i2cget b/tldr/linux/i2cget index 36cd2f20..65a5e6be 100644 --- a/tldr/linux/i2cget +++ b/tldr/linux/i2cget @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # i2cget -> Read from an register of an I2C device. +> Read from a register of an I2C device. > See also: `i2cdetect`, `i2cdump`, `i2cset`. > Note: All addresses should be specified in hexadecimal. > More information: . diff --git a/tldr/linux/last b/tldr/linux/last index 18c72812..736f3981 100644 --- a/tldr/linux/last +++ b/tldr/linux/last @@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git > View the last logged in users. > More information: . -- View last login infromation (e.g., username, terminal, boot time, kernel) of all users as read from `/var/log/wtmp`: +- View last login information (e.g., username, terminal, boot time, kernel) of all users as read from `/var/log/wtmp`: `last` diff --git a/tldr/linux/macchanger b/tldr/linux/macchanger index 674d6636..715fb759 100644 --- a/tldr/linux/macchanger +++ b/tldr/linux/macchanger @@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git > Manipulate network interface MAC addresses. > More information: . -- View the current and permanent MAC addresses of a interface: +- View the current and permanent MAC addresses of an interface: `macchanger {{[-s|--show]}} {{interface}}` diff --git a/tldr/linux/rpmkeys b/tldr/linux/rpmkeys index 1b5c4256..9c950ae6 100644 --- a/tldr/linux/rpmkeys +++ b/tldr/linux/rpmkeys @@ -9,7 +9,7 @@ source: https://github.com/tldr-pages/tldr.git > When adding an RPM repository, you must also import the corresponding RPM key. > More information: . -- List all imported RPM keys. Also outputs its Key ID needed for deleting a imported RPM key: +- List all imported RPM keys. Also outputs its Key ID needed for deleting an imported RPM key: `sudo rpmkeys --list` diff --git a/tldr/linux/smem b/tldr/linux/smem index a0bde872..9bb6fa13 100644 --- a/tldr/linux/smem +++ b/tldr/linux/smem @@ -12,7 +12,7 @@ source: https://github.com/tldr-pages/tldr.git `smem` -- Print memory usage for current processes for a every user on a system: +- Print memory usage for current processes for every user on a system: `smem --users` diff --git a/tldr/linux/tcpick b/tldr/linux/tcpick index 146d20cd..2d5d3140 100644 --- a/tldr/linux/tcpick +++ b/tldr/linux/tcpick @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # tcpick > Packet sniffing and network traffic analysis tool. -> It can capture and display TCP connections and data. It can also monitor network traffic on a interface, host, or port. +> It can capture and display TCP connections and data. It can also monitor network traffic on an interface, host, or port. > More information: . - Capture traffic on a specific interface, port, and host: diff --git a/tldr/linux/vzdump b/tldr/linux/vzdump index 2bf73c26..dd126ab9 100644 --- a/tldr/linux/vzdump +++ b/tldr/linux/vzdump @@ -20,7 +20,7 @@ source: https://github.com/tldr-pages/tldr.git `vzdump {{vm_id}} --mode {{suspend|snapshot}}` -- Back up all guest systems and send an notification email to the root and admin users: +- Back up all guest systems and send a notification email to the root and admin users: `vzdump --all --mode {{suspend}} --mailto {{root}} --mailto {{admin}}` diff --git a/tldr/lprm b/tldr/lprm index f8138ce2..67f0b981 100644 --- a/tldr/lprm +++ b/tldr/lprm @@ -21,7 +21,7 @@ source: https://github.com/tldr-pages/tldr.git `lprm -h {{server}}:{{port}} {{job_id}}` -- Cancel multiple jobs with a encrypted connection to the server: +- Cancel multiple jobs with an encrypted connection to the server: `lprm -E {{job_id1 job_id2 ...}}` diff --git a/tldr/pgmramp b/tldr/pgmramp index cdd30256..47dc5d99 100644 --- a/tldr/pgmramp +++ b/tldr/pgmramp @@ -20,7 +20,7 @@ source: https://github.com/tldr-pages/tldr.git `pgmramp -rectangle > {{path/to/output.pgm}}` -- Generate a elliptical greyscale map: +- Generate an elliptical greyscale map: `pgmramp -ellipse {{path/to/image.pgm}} > {{path/to/output.pgm}}` diff --git a/tldr/uniq b/tldr/uniq index fcbce695..e6a77cc8 100644 --- a/tldr/uniq +++ b/tldr/uniq @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # uniq -> Output the unique lines from a input or file. +> Output the unique lines from an input or file. > Since it does not detect repeated lines unless they are adjacent, we need to sort them first. > See also: `sort`. > More information: . diff --git a/tldr/windows/iscc b/tldr/windows/iscc index b7e1b941..518c568b 100644 --- a/tldr/windows/iscc +++ b/tldr/windows/iscc @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # iscc > Compiler for Inno Setup installers. -> It compiles an Inno Setup scripts into an Windows installer executable. +> It compiles an Inno Setup scripts into a Windows installer executable. > More information: . - Compile an Inno Setup script: diff --git a/tldr/windows/slmgr.vbs b/tldr/windows/slmgr.vbs index b80d3343..67b6eb25 100644 --- a/tldr/windows/slmgr.vbs +++ b/tldr/windows/slmgr.vbs @@ -29,7 +29,7 @@ source: https://github.com/tldr-pages/tldr.git `slmgr.vbs /ato` -- [a]c[t]ivate the Windows [p]roduct license offline. Requires Administrator privileges and an Confirmation ID provided by Microsoft Product Activation Center: +- [a]c[t]ivate the Windows [p]roduct license offline. Requires Administrator privileges and a Confirmation ID provided by Microsoft Product Activation Center: `slmgr.vbs /atp {{confirmation_id}}`