李睿恩的仓库
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.

10 regels
238 B

  1. sort data.txt | uniq -u
  2. sort -n data.txt | uniq -u
  3. sort data.txt > data2
  4. sort -n data.txt > data3
  5. sort data.txt >> data2
  6. sort -n data.txt >> data3
  7. grep ABC data.txt
  8. grep -o ABC data.txt
  9. grep ABC data.txt | wc -l
  10. grep -o ABC data.txt | wc