snippetbashTip
qr — Generate QR codes in the terminal with ANSI VT-100 escape codes. See also: `qrencode`. More informat
Viewed 0 times
theterminalcommandqrcodescliwithgenerate
Problem
How to use the
qr command: Generate QR codes in the terminal with ANSI VT-100 escape codes. See also: qrencode. More information: <https://manned.org/qr>.Solution
qr — Generate QR codes in the terminal with ANSI VT-100 escape codes. See also: qrencode. More information: <https://manned.org/qr>.Generate a QR code:
qr "{{data}}"Specify the error correction level (defaults to
M):qr --error-correction {{L|M|Q|H}} "{{data}}"Generate a QR code from the output of another command:
{{command}} | qrSave the QR code as a PNG image:
qr "{{data}}" > {{path/to/file.png}}Code Snippets
Generate a QR code
qr "{{data}}"Specify the error correction level (defaults to `M`)
qr --error-correction {{L|M|Q|H}} "{{data}}"Generate a QR code from the output of another command
{{command}} | qrSave the QR code as a PNG image
qr "{{data}}" > {{path/to/file.png}}Context
tldr-pages: common/qr
Revisions (0)
No revisions yet.