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
laxman@laxman-X556UR:~$ wget -O harry.txt https://raw.githubusercontent.com/bobdeng/owlreader/master/ERead/assets/books/Harry%20Potter%20and%20the%20Goblet%20of%20Fire.txt | |
" Downloads link content and put that content into file named harry.txt. " | |
laxman@laxman-X556UR:~$ head -n 3 harry.txt | |
" Prints first 3 lines. " | |
laxman@laxman-X556UR:~$ tail -n 10 harry.txt | |
" Prints last 10 lines. " | |
laxman@laxman-X556UR:~$ grep -o -i "Harry" harry.txt | wc -l |
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
laxman@laxman-X556UR:~/Documents$ mkdir hello | |
" Creates folder named hello" | |
laxman@laxman-X556UR:~/Documents$ cd hello | |
" Open the folder named hello" | |
laxman@laxman-X556UR:~/Documents/hello$ mkdir five | |
" Creates folder named five in hello folder. " | |
laxman@laxman-X556UR:~/Documents/hello$ mkdir one |