Linux下使用命令生成二维码

版权声明:指剑 https://blog.csdn.net/fly1574/article/details/88793744

首先在保证linux联网的情况下安装 qrencode

yum -y install qrencode

使用命令生成二维码(-s 后面的数字是二维码的大小 这里的18 是 18*18)

qrencode -o test.png -s 18 ‘http://www.baidu.com

使用FTP将生成的二维码文件下载到本地

在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/fly1574/article/details/88793744