Skip to content

Instantly share code, notes, and snippets.

View nv08's full-sized avatar
💭
Journey Starts From Here!

Nilay Varshney nv08

💭
Journey Starts From Here!
  • verloop
  • lucknow
View GitHub Profile
@nv08
nv08 / Nilay_CLI_Drills_II
Created May 17, 2021 12:52
Nilay_CLI_Drills_II
136 wget https://raw.githubusercontent.com/bobdeng/owlreader/master/ERead/assets/books/Harry%20Potter%20and%20the%20Goblet%20of%20Fire.txt
137 head -n 3 H*.txt
138 tail H*.txt
139 clear
140 grep -o 'Harry' H*.txt | wc -w
141 grep -o 'Ron' H*.txt | wc -w
142 grep -o 'Hermione' H*.txt | wc -w
143 grep -o 'Dumbledore' H*.txt | wc -w
144 sed -n '100,200p' H*.txt
145 clear
@nv08
nv08 / Nilay_CLI_Drills_I
Created May 15, 2021 13:02
Nilay_CLI_Drills_I
74 mkdir -p hello/five/six/seven
75 mkdir -p hello/one/two/three/four
76 cd hello
77 touch five/six/c.txt
78 touch five/six/seven/error.log
79 touch one/a.txt
80 touch one/b.txt
81 touch two/d.txt
82 touch one/two/d.txt
83 touch one/two/three/e.txt