Informatics1-2017/HW1
A MathWikiből
(Változatok közti eltérés)
(Új oldal, tartalma: „Send the commands that accomplish these tasks (rules for handing in your homework). * Download the text file <tt>williamblake.txt</tt> …”) |
|||
7. sor: | 7. sor: | ||
* Find the lines containing ''is''. | * Find the lines containing ''is''. | ||
** <tt>grep</tt> | ** <tt>grep</tt> | ||
− | * Count the lines | + | * Count the lines containing ''and''. |
** <tt>grep, wc, pipe</tt> | ** <tt>grep, wc, pipe</tt> | ||
* Write to a file named '''the.txt''' all the lines containing the word ''the''. | * Write to a file named '''the.txt''' all the lines containing the word ''the''. |
A lap 2017. szeptember 11., 20:41-kori változata
Send the commands that accomplish these tasks (rules for handing in your homework).
- Download the text file williamblake.txt from http://math.bme.hu/~kkovacs/info1/williamblake.txt.
- wget
- Count how many characters it has.
- wc
- Find the lines containing is.
- grep
- Count the lines containing and.
- grep, wc, pipe
- Write to a file named the.txt all the lines containing the word the.