Skip to content

Instantly share code, notes, and snippets.

--> 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'
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