This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --> To Download the Book from internet we can use this command | |
| wget "https://raw.githubusercontent.com/bobdeng/owlreader/master/ERead/assets/books/Harry%20Potter%20and%20the%20Goblet%20of%20Fire.txt" | |
| wget is a tool to download files or content from internet under http , https and FTP. | |
| --> To print first three from the book | |
| head -n 3 'Harry Potter and the Goblet of Fire.txt' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PRACTIVE DRILL 1 | |
| mkdir -p hello/five/six/seven | |
| mkdir -p hello/one/two/three/four | |
| -> mkdir to make a directory, -p is used when we want to make nested directories. | |
| touch hello/five/six/c.txt | |
| touch hello/five/six/seven/error.log | |
| touch hello/one/a.txt hello/one/b.txt |