我会把以下功能做成xshell随机按钮,记下来备忘
随机字符
openssl rand -base64 16
随机字母
head -20 /dev/urandom | md5sum | awk ‘{print $1}‘
随机数字
head -20 /dev/urandom | cksum | awk ‘{print $1}‘本文出自 “change” 博客,请务必保留此出处http://changeflyhigh.blog.51cto.com/8317626/1919137
原文:http://changeflyhigh.blog.51cto.com/8317626/1919137