Shell 常用技巧 echo $RANDOM | cksum | cut -c 1-8 openssl rand -base64 4 | cksum | cut -c 1-8 date +%N | cut -c 1-8 # 随机获取8位数字 相关文章: 2022-01-02 2021-08-13 2021-10-13 2021-12-05 2022-02-17