...
Code Block |
---|
[intro_to_linux]$ grep -i bayes software.csv |
Info |
---|
Pipe Redirect this output to a file: |
Code Block |
---|
[intro_to_linux]$ grep -i bayes software.csv > apps.txt [intro_to_linux]$ ls apps.txt clusters data software.csv [intro_to_linux]$ cat apps.txt |
...
Code Block |
---|
[intro_to_linux]$ cat fruits.txt Gooseberry Apple Apricot Avocado Strawberry ... [intro_to_linux]$ cat fruits.txt | wc -l 97 97 |
Info | ||
---|---|---|
We could use the
|
...
Example continued
Info |
---|
First step, find all the terms that contain the sub string |
...
Code Block |
---|
[intro_to_linux]$ cat vegatables.txt | grep -i beans | sort | uniq -i | wc -l 12 |
Note | ||||
---|---|---|---|---|
Make sure you are use the commands and options as you intend and understand and be able to describe and explain/justify. Notice the difference between:
and
|
...
Previous | Workshop Home | Next |