Skip to content

Instantly share code, notes, and snippets.

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
@laxmansingh2397
laxmansingh2397 / Drill1.txt
Last active May 11, 2025 15:00
CLI - Drills_1
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