1、使用openssl

openssl rand -base64 14
# 生成14位得随机字符串

2、使用/dev/urandom 设备

< /dev/urandom tr -dc A-Za-z0-9 | head -c 14; echo
# 生成14位得随机字符串

3、使用pwgen命令

yum install pwgen
pwgen 14 1 
# 生成1行14位的字符串

相关文章:

  • 2022-01-15
  • 2021-12-09
  • 2021-10-28
  • 2021-07-02
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-02
  • 2022-01-18
  • 2021-07-23
相关资源
相似解决方案