linux下生成带符号的随机密码

cat /dev/urandom |tr -dc "[:graph:]"|fold -w 15|head 

  结果如下:

原文地址:https://www.cnblogs.com/z-books/p/7268088.html