You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#1
|
|
for i in `seq 50000`;do echo $RANDOM | md5sum | cut -c 1-9 ;done > 1.txt
|
|
sort -d 1.txt | uniq
|
|
sort -n 1.txt | uniq
|
|
sort -d 1.txt | uniq > 1_uniq1.txt
|
|
sort -n 1.txt | uniq > 1_uniq1.txt
|
|
sort -d 1.txt | uniq >> 1_uniq2.txt
|
|
sort -n 1.txt | uniq >> 1_uniq2.txt
|
|
|
|
#2
|
|
for i in `seq 50000`;do echo $RANDOM | md5sum | cut -c 1-9 ;done > 2.txt
|
|
grep 'computer' 2.txt
|
|
grep -o 'computer' 2.txt | wc -l
|