This website works better with JavaScript.
Home
Explore
帮助
返回水杉在线
登录水杉在线
登录水杉码园
10215501449
/
Computer-Systems-Labs
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
10215501449
master
黄驰越
2 years ago
parent
795d1dae71
commit
b885f49075
1 changed files
with
12 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+12
-0
lab1/10215501449.sh
+ 12
- 0
lab1/10215501449.sh
View File
@ -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
Write
Preview
Loading…
Cancel
Save