Generating QR Code from Linux command line

Published on Author admin

To generate QR Code from Linux command line you can use qrencode tool.

Use-case:
* transfer config/text files from Linux machine to mobile phone
* transfer config/text files from Linux machine when it is not possible to directly copy it (i.e. SSH session inside remote RDP session where copy to clipboard is disabled)

Installation:

dnf install qrencode

Example usage:

echo "https://openterprise.it" | qrencode -t ANSIUTF8

Results: