Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

12 righe
507 B

  1. #!/bin/bash
  2. for i in `seq 1000`;do echo $RANDOM | md5sum | cut -c 1-9 ;done >> random1000.txt
  3. #以覆盖写的方式,字母排序,输出unique行
  4. sort -u random1000.txt > alph
  5. #以覆盖写的方式,数字排序,输出unique行
  6. sort -u -n random1000.txt > num
  7. #以追加写的方式,字母排序,输出unique行
  8. sort -u random1000.txt >> alph
  9. #以追加写的方式,数字排序,输出unique行
  10. sort -u -n random1000.txt >> num
  11. #继续在里面查找coumputer
  12. grep -c "Computer" random1000