瀏覽代碼

10215501449

master
黄驰越 1 年之前
父節點
當前提交
b885f49075
共有 1 個檔案被更改,包括 12 行新增0 行删除
  1. +12
    -0
      lab1/10215501449.sh

+ 12
- 0
lab1/10215501449.sh 查看文件

@ -0,0 +1,12 @@
for ((i=1;i<=100;i++))
>do echo $RANDOM | md5sum | cut -c 1-40 >>test.txt
>done
sort test.txt | uniq -u
sort -n test.txt | uniq -u
sort -n test.txt > test2.txt
sort test.txt > test3.txt
grep -c cc test.txt //因为没有computer字符串所以用cc来代替
grep -n cc test.txt

Loading…
取消
儲存