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
| #Download the contents of "Harry Potter and the Goblet of fire" using the command line | |
| mohammedali@Mohammeds-MacBook-Pro dir1 % curl -O https://raw.githubusercontent.com/bobdeng/owlreader/master/ERead/assets/books/Harry%20Potter%20and%20the%20Goblet%20of%20Fire.txt | |
| % Total % Received % Xferd Average Speed Time Time Time Current | |
| Dload Upload Total Spent Left Speed | |
| 100 1113k 100 1113k 0 0 216k 0 0:00:05 0:00:05 --:--:-- 255k | |
| mohammedali@Mohammeds-MacBook-Pro dir1 % ls | |
| cliDrill2 file.txt | |
| drill2.txt Harry%20Potter%20and%20the%20Goblet%20of%20Fire.txt | |
| dummy.txt HarryPotter.txt | |
| mohammedali@Mohammeds-MacBook-Pro dir1 % mv Harry%20Potter%20and%20the%20Goblet%20of%20Fire.txt hp.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
| # Main Directory | |
| mkdir hello | |
| cd hello | |
| # Created directories | |
| mkdir five | |
| mkdir one | |
| # Work inside 'five' | |
| cd five |