How to scan QR-Codes in your terminal
Install the zbarimg command line application by running:
sudo apt-get install zbar-tools
Use the program, zbarimg provided by the package to read your QR encoded image
EXAMPLE
from command line:
zbarimg "image-file-name.jpg"
The above will display what is encoded in the image in the terminal.
IF you would like to generate QR code you can install qrencode from the repositories.
< input.txt qrencode -s 10 -o test.png
The above will encode the information in the input.txt file in an image file called test.png.
or you can input text from the console with;
qrencode -s 10 -o ubuntu.png http://www.ubuntu.com
The above will generate a QR encoded image called ubuntu.png with the url http://www.ubuntu.com encoded in it.
Source: https://askubuntu.com/questions/22871/software-to-read-a-qr-code
Further reading for qrencode eaxmples
https://www.cloudsavvyit.com/8382/how-to-create-qr-codes-from-the-linux-command-line/
https://zxing.org/w/decode.jspx https://www.onlinebarcodereader.com/
https://askubuntu.com/questions/22871/software-to-read-a-qr-code http://www.bardecode.com/en1/app/linux/