My scripts for startup, dmenu, and the command line
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

15 行
226 B

  1. #!/bin/sh
  2. password() {
  3. tr -d '\n' < /dev/urandom | fold -w30 | head -n1
  4. }
  5. password_easy() {
  6. tr -cd '[:alnum:]' < /dev/urandom | fold -w20 | head -n1
  7. }
  8. case $1 in
  9. password) password;;
  10. *) printf "Invalid argument";;
  11. esac